167
168
self.failUnlessExists('tree/file')
168
169
self.assertRaises(errors.NoWorkingTree, bzrdir.open_workingtree)
170
182
def test_open_workingtree_raises_no_working_tree(self):
171
183
"""BzrDir.open_workingtree() should raise NoWorkingTree (rather than
172
184
e.g. NotLocalUrl) if there is no working tree.