At file:///home/vila/src/bzr/cleanup/test-servers/

------------------------------------------------------------
revno: 5046
revision-id: [email protected]
parent: [email protected]
committer: Vincent Ladeuil <[email protected]>
branch nick: test-servers
timestamp: Tue 2010-02-09 22:11:11 +0100
message:
  -s bt.per_branch.test_push passing
=== modified file 'bzrlib/tests/per_branch/test_push.py'
--- a/bzrlib/tests/per_branch/test_push.py      2010-02-08 09:02:01 +0000
+++ b/bzrlib/tests/per_branch/test_push.py      2010-02-09 21:11:11 +0000
@@ -38,8 +38,10 @@
     server,
     repository as _mod_smart_repo,
     )
-from bzrlib.tests import per_branch
-from bzrlib.transport import local
+from bzrlib.tests import (
+    per_branch,
+    test_server,
+    )
 
 
 class TestPush(per_branch.TestCaseWithBranch):
@@ -149,7 +151,7 @@
         try:
             tree = a_branch.bzrdir.create_workingtree()
         except errors.NotLocalUrl:
-            if self.vfs_transport_factory is local.LocalURLServer:
+            if self.vfs_transport_factory is test_server.LocalURLServer:
                 # the branch is colocated on disk, we cannot create a checkout.
                 # hopefully callers will expect this.
                 local_controldir= bzrdir.BzrDir.open(
@@ -391,7 +393,7 @@
         super(EmptyPushSmartEffortTests, self).setUp()
         # Create a smart server that publishes whatever the backing VFS server
         # does.
-        self.smart_server = server.SmartTCPServer_for_testing()
+        self.smart_server = test_server.SmartTCPServer_for_testing()
         self.start_server(self.smart_server, self.get_server())
         # Make two empty branches, 'empty' and 'target'.
         self.empty_branch = self.make_branch('empty')

-- 
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits

Reply via email to