~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/bzrdir_implementations/test_bzrdir.py

New call get_format_description to give a user-friendly description of a
format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1080
1080
            # and it should pass 'check' now.
1081
1081
            check(bzrdir.BzrDir.open(self.get_url('.')).open_branch(), False)
1082
1082
 
 
1083
    def test_format_description(self):
 
1084
        dir = self.make_bzrdir('.')
 
1085
        text = dir._format.get_format_description()
 
1086
        self.failUnless(len(text))
 
1087
 
1083
1088
 
1084
1089
class ChrootedBzrDirTests(ChrootedTestCase):
1085
1090