[MERGE] Convert tests.blackbox.test_b* to use internals where appropriate

Martin Pool mbp at canonical.com
Tue Aug 7 09:12:04 BST 2007

Martin Pool has voted approve.
Status is now: Approved

That looks really nice, thanks.

+        base_tree = branch.bzrdir.open_workingtree()
+        base_tree.lock_write()
+        base_tree.add(['a', 'b'])
+        base_tree.commit('init')
+        base_tree.unlock()

As a separate patch we could factor out a test method that makes a 
branch and tree and makes one or two commits in it.  It would need some 
care to cover the common cases while still being simpler than just 
calling the branch methods directly.

For details, see: 

More information about the bazaar mailing list