/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tests/test_upload.py

  • Committer: Vincent Ladeuil
  • Date: 2009-01-17 23:20:11 UTC
  • mto: (0.152.55 trunk)
  • mto: This revision was merged to the branch mainline in revision 6649.
  • Revision ID: v.ladeuil+lp@free.fr-20090117232011-215t61v433xfz28e
Fix bzrlib.builtins import.

* tests/test_upload.py:
(TestUploadFromRemote.do_full_upload,
TestUploadFromRemote.do_incremental_upload): Fix import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
from bzrlib import (
23
23
    branch,
 
24
    builtins,
24
25
    bzrdir,
25
26
    errors,
26
27
    osutils,
31
32
    workingtree,
32
33
    )
33
34
from bzrlib.smart import server as smart_server
34
 
from bzrlib.builtins import cmd_push
35
35
 
36
36
from bzrlib.tests import (
37
37
    test_transport_implementations,
593
593
    def do_full_upload(self, *args, **kwargs):
594
594
        up_url = self.get_transport(self.upload_dir).external_url()
595
595
 
596
 
        push = cmd_push()
 
596
        push = builtins.cmd_push()
597
597
        push._setup_outf()
598
598
        push.run(location=up_url, directory='branch')
599
599
 
607
607
    def do_incremental_upload(self, *args, **kwargs):
608
608
        up_url = self.get_transport(self.upload_dir).external_url()
609
609
 
610
 
        push = cmd_push()
 
610
        push = builtins.cmd_push()
611
611
        push._setup_outf()
612
612
        push.run(location=up_url, directory='branch')
613
613