~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_controldir/test_format.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-22 12:10:34 UTC
  • mto: This revision was merged to the branch mainline in revision 5737.
  • Revision ID: jelmer@samba.org-20110322121034-70a7037sqrs2l2no
Rename check_status -> check_support_status.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    def test_upgrade_recommended(self):
36
36
        self.assertIsInstance(self.bzrdir_format.upgrade_recommended, bool)
37
37
 
38
 
    def test_check_status(self):
 
38
    def test_check_support_status(self):
39
39
        if not self.bzrdir_format.is_supported():
40
40
            self.assertRaises(errors.UnsupportedFormatError,
41
 
                self.bzrdir_format.check_status, False)
 
41
                self.bzrdir_format.check_support_status, False)
42
42
        else:
43
 
            self.bzrdir_format.check_status(True)
44
 
            self.bzrdir_format.check_status(False)
 
43
            self.bzrdir_format.check_support_status(True)
 
44
            self.bzrdir_format.check_support_status(False)