Rev 5039: selftest -s bt.test_transport passing in file:///home/vila/src/bzr/cleanup/test-servers/

Vincent Ladeuil v.ladeuil+lp at free.fr
Tue Feb 9 20:46:18 GMT 2010


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

------------------------------------------------------------
revno: 5039
revision-id: v.ladeuil+lp at free.fr-20100209204618-9saa1yof6i9bo38a
parent: v.ladeuil+lp at free.fr-20100209204450-ro6csmw24m2645i9
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: test-servers
timestamp: Tue 2010-02-09 21:46:18 +0100
message:
  selftest -s bt.test_transport passing
-------------- next part --------------
=== modified file 'bzrlib/tests/test_transport.py'
--- a/bzrlib/tests/test_transport.py	2010-02-09 13:35:40 +0000
+++ b/bzrlib/tests/test_transport.py	2010-02-09 20:46:18 +0000
@@ -36,7 +36,10 @@
     pathfilter,
     readonly,
     )
-from bzrlib.tests import features
+from bzrlib.tests import (
+    features,
+    test_server,
+    )
 
 
 # TODO: Should possibly split transport-specific tests into their own files.
@@ -248,7 +251,7 @@
 class TestMemoryServer(tests.TestCase):
 
     def test_create_server(self):
-        server = memory.MemoryServer()
+        server = test_server.MemoryServer()
         server.start_server()
         url = server.get_url()
         self.assertTrue(url in transport.transport_list_registry)
@@ -593,7 +596,7 @@
 
     def test_fakenfs_server_default(self):
         # a FakeNFSServer() should bring up a local relpath server for itself
-        server = fakenfs.FakeNFSServer()
+        server = test_server.FakeNFSServer()
         self.start_server(server)
         # the url should be decorated appropriately
         self.assertStartsWith(server.get_url(), 'fakenfs+')



More information about the bazaar-commits mailing list