~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2008-10-30 00:55:00 UTC
  • mto: (3815.2.5 prepare-1.9)
  • mto: This revision was merged to the branch mainline in revision 3811.
  • Revision ID: john@arbash-meinel.com-20081030005500-r5cej1cxflqhs3io
Switch so that we are using a simple timestamp as the first action.

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