/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/per_workingtree/test_workingtree.py

(mbp) stop using failIf, failUnless, etc (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
398
398
        wt.set_parent_ids(['B'])
399
399
        tree = wt.basis_tree()
400
400
        tree.lock_read()
401
 
        self.failUnless(tree.has_filename('bar'))
 
401
        self.assertTrue(tree.has_filename('bar'))
402
402
        tree.unlock()
403
403
        wt.set_parent_ids(['A'])
404
404
        tree = wt.basis_tree()
405
405
        tree.lock_read()
406
 
        self.failUnless(tree.has_filename('foo'))
 
406
        self.assertTrue(tree.has_filename('foo'))
407
407
        tree.unlock()
408
408
 
409
409
    def test_clone_tree_revision(self):
738
738
    def test_format_description(self):
739
739
        tree = self.make_branch_and_tree('tree')
740
740
        text = tree._format.get_format_description()
741
 
        self.failUnless(len(text))
 
741
        self.assertTrue(len(text))
742
742
 
743
743
    def test_branch_attribute_is_not_settable(self):
744
744
        # the branch attribute is an aspect of the working tree, not a