~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2007-06-28 23:18:09 UTC
  • mfrom: (2562 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2566.
  • Revision ID: john@arbash-meinel.com-20070628231809-pqbt7puoqj8bl07b
[merge] bzr.dev 2562

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
        # test push for failure without push location set
60
60
        os.chdir('branch_a')
61
 
        out = self.runbzr('push', retcode=3)
 
61
        out = self.run_bzr('push', retcode=3)
62
62
        self.assertEquals(out,
63
63
                ('','bzr: ERROR: No push location known or specified.\n'))
64
64
 
169
169
        t = self.make_branch_and_tree('from')
170
170
        t.commit(allow_pointless=True,
171
171
                message='first commit')
172
 
        self.runbzr('push -d from to-one')
 
172
        self.run_bzr('push -d from to-one')
173
173
        self.failUnlessExists('to-one')
174
 
        self.runbzr('push -d %s %s' 
 
174
        self.run_bzr('push -d %s %s' 
175
175
            % tuple(map(urlutils.local_path_to_url, ['from', 'to-two'])))
176
176
        self.failUnlessExists('to-two')
177
177