/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: Martin Pool
  • Date: 2008-05-07 05:09:19 UTC
  • mfrom: (3400.3.6 deprecations)
  • mto: This revision was merged to the branch mainline in revision 3410.
  • Revision ID: mbp@sourcefrog.net-20080507050919-3es4cbveojujitow
Remove code deprecated prior to 1.1 and its tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
                          iter_suite_tests,
66
66
                          preserve_input,
67
67
                          randomize_suite,
68
 
                          sort_suite_by_re,
69
68
                          split_suite_by_re,
70
69
                          test_lsprof,
71
70
                          test_suite,
1824
1823
        # necessarily.)
1825
1824
        self.assertEqual(len(self.all_names), len(_test_ids(randomized_suite)))
1826
1825
 
1827
 
    def test_sort_suite_by_re(self):
1828
 
        sorted_suite = self.applyDeprecated(one_zero,
1829
 
            sort_suite_by_re, self.suite, 'test_filter_suite_by_r')
1830
 
        sorted_names = _test_ids(sorted_suite)
1831
 
        self.assertEqual(sorted_names[0], 'bzrlib.tests.test_selftest.'
1832
 
            'TestSelftestFiltering.test_filter_suite_by_re')
1833
 
        self.assertEquals(sorted(self.all_names), sorted(sorted_names))
1834
 
 
1835
1826
    def test_split_suit_by_re(self):
1836
1827
        self.all_names = _test_ids(self.suite)
1837
1828
        split_suite = split_suite_by_re(self.suite, 'test_filter_suite_by_r')