~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-07-14 08:21:19 UTC
  • mfrom: (3517.4.20 stacking)
  • Revision ID: pqm@pqm.ubuntu.com-20080714082119-ju6qe5weo8pp7f1c
merge integrated branch stacking

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
17
 
 
18
from bzrlib import tests
18
19
from bzrlib.builtins import cmd_push
19
20
from bzrlib.tests.transport_util import TestCaseWithConnectionHookedTransport
20
21
 
27
28
        self.start_logging_connections()
28
29
 
29
30
        cmd = cmd_push()
 
31
        # We don't care about the ouput but 'outf' should be defined
 
32
        cmd.outf = tests.StringIOWrapper()
30
33
        cmd.run(self.get_url('remote'), directory='branch')
31
34
        self.assertEquals(1, len(self.connections))
32