~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

Update test support, and remove deprecated functions pullable_revisions and get_intervening_revisions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
484
484
        self.assertRaises(AssertionError, self.assertIsInstance, None, int)
485
485
        self.assertRaises(AssertionError, self.assertIsInstance, 23.3, int)
486
486
 
 
487
    def test_assertEndsWith(self):
 
488
        self.assertEndsWith('foo', 'oo')
 
489
        self.assertRaises(AssertionError, self.assertEndsWith, 'o', 'oo')
 
490
 
487
491
 
488
492
class TestConvenienceMakers(TestCaseWithTransport):
489
493
    """Test for the make_* convenience functions."""