/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

Viewing all changes in revision 3302.11.1.

  • Committer: Vincent Ladeuil
  • Date: 2008-04-23 18:44:52 UTC
  • mto: (3426.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 3427.
  • Revision ID: v.ladeuil+lp@free.fr-20080423184452-h9p6zkkm8yjfb8pw
Create a new selftest filter allowing loading only one module/class/test.

* bzrlib/tests/test_selftest.py:
(TestSelftestFiltering.test_condition_id_startswith): Test condition.
(TestSelftestFiltering): Test filter.
(TestFilteredByModuleTestLoader.test_exclude_tests): Test loader.

* bzrlib/tests/__init__.py:
(condition_id_startswith): New condition to filter tests.
(filter_suite_by_id_startswith): New filter.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: