/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 breezy/tests/test_selftest.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 05:10:44 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7294.
  • Revision ID: jelmer@jelmer.uk-20190304051044-vph4s8p9qvpy2qe9
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1603
1603
        self.assertEqual([], result.failures)
1604
1604
 
1605
1605
    def test_run_disabled_unittest_result(self):
1606
 
        """Test our compatability for disabled tests with unittest results."""
 
1606
        """Test our compatibility for disabled tests with unittest results."""
1607
1607
        test = SampleTestCase('_test_pass')
1608
1608
 
1609
1609
        class DisabledFeature(object):
2880
2880
 
2881
2881
    def test_preserve_input(self):
2882
2882
        # NB: Surely this is something in the stdlib to do this?
2883
 
        self.assertTrue(self.suite is tests.preserve_input(self.suite))
2884
 
        self.assertTrue("@#$" is tests.preserve_input("@#$"))
 
2883
        self.assertIs(self.suite, tests.preserve_input(self.suite))
 
2884
        self.assertEqual("@#$", tests.preserve_input("@#$"))
2885
2885
 
2886
2886
    def test_randomize_suite(self):
2887
2887
        randomized_suite = tests.randomize_suite(self.suite)