~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-05-03 22:01:07 UTC
  • mfrom: (1692.4.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060503220107-7606072537025d30
Merge in push-without-working-tree, knit-sftp-speed, reconcile-fixes-revision-graph-cache.

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