~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

  • Committer: Martin Pool
  • Date: 2011-04-14 07:53:38 UTC
  • mto: This revision was merged to the branch mainline in revision 5788.
  • Revision ID: mbp@sourcefrog.net-20110414075338-0cwknb7zokfouzwj
Stop using failIf, failUnless, etc

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
            dir.create_repository()
178
178
            format.initialize(dir)
179
179
            found_format = _mod_branch.BranchFormat.find_format(dir)
180
 
            self.failUnless(isinstance(found_format, format.__class__))
 
180
            self.assertIsInstance(found_format, format.__class__)
181
181
        check_format(_mod_branch.BzrBranchFormat5(), "bar")
182
182
 
183
183
    def test_find_format_factory(self):