~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-05-21 14:57:43 UTC
  • mfrom: (4347.3.2 interbranch-dpush-result)
  • Revision ID: pqm@pqm.ubuntu.com-20090521145743-3ttnkw77ofepprzq
(Jelmer) Return BranchPushResult from InterBranch.lossy_push().

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        self.build_tree(("dc/foo", "blaaaa"))
81
81
        dc.open_workingtree().commit('msg')
82
82
 
83
 
        self.check_output("", "dpush -d dc d")
 
83
        output, error = self.run_bzr("dpush -d dc d")
 
84
        self.assertEquals(error, "Pushed up to revision 2.\n")
84
85
        self.check_output("", "status dc")
85
86
 
86
87
    def test_dpush_new(self):