/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_add_reference.py

(jelmer) Skip tests that require an inventory when run against a WorkingTree
 that is not inventory based. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        tree.lock_write()
54
54
        try:
55
55
            self.assertEqual(tree.path2id('sub-tree'), 'sub-tree-root-id')
56
 
            self.assertEqual(tree.inventory['sub-tree-root-id'].kind,
57
 
                             'tree-reference')
 
56
            self.assertEqual(tree.kind('sub-tree-root-id'), 'tree-reference')
58
57
            tree.commit('commit reference')
59
58
            basis = tree.basis_tree()
60
59
            basis.lock_read()