/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_errors.py

  • Committer: John Arbash Meinel
  • Date: 2006-06-22 18:24:25 UTC
  • mfrom: (1803 +trunk)
  • mto: (1793.3.6 bundle-fixes)
  • mto: This revision was merged to the branch mainline in revision 1806.
  • Revision ID: john@arbash-meinel.com-20060622182425-6f45cb7acd587216
[merge] bzr.dev 1804 and fix conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    def test_no_repo(self):
28
28
        dir = bzrdir.BzrDir.create(self.get_url())
29
29
        error = errors.NoRepositoryPresent(dir)
30
 
        self.assertNotEqual(-1, str(error).find(repr(dir.transport.clone('..').base)))
31
 
        self.assertEqual(-1, str(error).find(repr(dir.transport.base)))
 
30
        self.assertNotEqual(-1, str(error).find((dir.transport.clone('..').base)))
 
31
        self.assertEqual(-1, str(error).find((dir.transport.base)))
32
32
 
33
33
    def test_up_to_date(self):
34
34
        error = errors.UpToDateFormat(bzrdir.BzrDirFormat4())