~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2007-02-25 11:17:26 UTC
  • mto: This revision was merged to the branch mainline in revision 2309.
  • Revision ID: mbp@sourcefrog.net-20070225111726-w5a6asp76autb02f
Tag conflicts from push go to stdout.
Cleanup blackbox tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        # test implicit --remember after resolving previous failure
81
81
        uncommit(branch=branch_b, tree=tree_b)
82
82
        transport.delete('branch_b/c')
83
 
        out = self.run_bzr('push')
 
83
        out, err = self.run_bzr('push')
84
84
        path = branch_a.get_push_location()
85
 
        self.assertEquals(('Using saved location: %s\n' 
86
 
                           % (local_path_from_url(path),)
87
 
                          , 'All changes applied successfully.\n'
88
 
                            'Pushed up to revision 2.\n'), out)
 
85
        self.assertEquals(out,
 
86
                          'Using saved location: %s\n' 
 
87
                          'Pushed up to revision 2.\n'
 
88
                          % local_path_from_url(path))
 
89
        self.assertEqual(err,
 
90
                         'All changes applied successfully.\n')
89
91
        self.assertEqual(path,
90
92
                         branch_b.bzrdir.root_transport.base)
91
93
        # test explicit --remember