~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_status.py

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
244
244
            tree.commit('add test file')
245
245
            # simulate what happens after a remote push
246
246
            tree.set_last_revision("0")
247
 
            out, err = self.run_bzr('status')
248
 
            self.assertEqual("working tree is out of date, run 'bzr update'\n",
249
 
                             err)
250
247
        finally:
 
248
            # before run another commands we should unlock tree
251
249
            tree.unlock()
 
250
        out, err = self.run_bzr('status')
 
251
        self.assertEqual("working tree is out of date, run 'bzr update'\n",
 
252
                         err)
252
253
 
253
254
 
254
255
class CheckoutStatus(BranchStatus):