/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: 2006-05-04 06:59:38 UTC
  • mfrom: (1696 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1697.
  • Revision ID: mbp@sourcefrog.net-20060504065938-0e2871ad0d76f3a2
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
394
394
        self.assertRaises(AssertionError, self.assertIsInstance, None, int)
395
395
        self.assertRaises(AssertionError, self.assertIsInstance, 23.3, int)
396
396
 
 
397
    def test_assertEndsWith(self):
 
398
        self.assertEndsWith('foo', 'oo')
 
399
        self.assertRaises(AssertionError, self.assertEndsWith, 'o', 'oo')
 
400
 
397
401
 
398
402
class TestConvenienceMakers(TestCaseWithTransport):
399
403
    """Test for the make_* convenience functions."""
406
410
                              bzrlib.bzrdir.BzrDirMetaFormat1)
407
411
        self.assertIsInstance(bzrlib.bzrdir.BzrDir.open('b')._format,
408
412
                              bzrlib.bzrdir.BzrDirFormat6)
409