/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: Alexander Belchenko
  • Date: 2011-03-28 08:27:18 UTC
  • mfrom: (5742 +trunk)
  • mto: (5759.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5760.
  • Revision ID: bialix@ukr.net-20110328082718-wb3emf38d4iffmcp
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
300
300
            str(error))
301
301
 
302
302
    def test_up_to_date(self):
303
 
        error = errors.UpToDateFormat(bzrdir.BzrDirFormat4())
304
 
        self.assertEqualDiff("The branch format All-in-one "
305
 
                             "format 4 is already at the most "
306
 
                             "recent format.",
307
 
                             str(error))
 
303
        error = errors.UpToDateFormat("someformat")
 
304
        self.assertEqualDiff(
 
305
            "The branch format someformat is already at the most "
 
306
            "recent format.", str(error))
308
307
 
309
308
    def test_corrupt_repository(self):
310
309
        repo = self.make_repository('.')