~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_sftp_transport.py

Finish deprecating Branch.working_tree()

Show diffs side-by-side

added added

removed removed

Lines of Context:
228
228
        b.unlock()
229
229
        self.failIf(lexists('.bzr/branch-lock.write-lock'))
230
230
 
231
 
    def test_no_working_tree(self):
232
 
        b = Branch.create(self._sftp_url)
233
 
        self.assertRaises(errors.NoWorkingTree, b.working_tree)
234
 
 
235
231
    def test_push_support(self):
236
232
        self.build_tree(['a/', 'a/foo'])
237
233
        t = WorkingTree.create_standalone('a')