Rev 5060: -s bt.per_repository.test_write_group passing in file:///home/vila/src/bzr/cleanup/test-servers/

Vincent Ladeuil v.ladeuil+lp at free.fr
Tue Feb 9 21:36:10 GMT 2010


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

------------------------------------------------------------
revno: 5060
revision-id: v.ladeuil+lp at free.fr-20100209213610-bykt113diqobgzid
parent: v.ladeuil+lp at free.fr-20100209213431-o2pmdzu3xnv9n6lp
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: test-servers
timestamp: Tue 2010-02-09 22:36:10 +0100
message:
  -s bt.per_repository.test_write_group passing
-------------- next part --------------
=== modified file 'bzrlib/tests/per_repository/test_write_group.py'
--- a/bzrlib/tests/per_repository/test_write_group.py	2010-02-05 14:40:22 +0000
+++ b/bzrlib/tests/per_repository/test_write_group.py	2010-02-09 21:36:10 +0000
@@ -29,8 +29,10 @@
     tests,
     versionedfile,
     )
-from bzrlib.transport import local, memory
-from bzrlib.tests import per_repository
+from bzrlib.tests import (
+    per_repository,
+    test_server,
+    )
 
 
 class TestWriteGroup(per_repository.TestCaseWithRepository):
@@ -114,9 +116,9 @@
         repo.unlock()
 
     def test_abort_write_group_does_not_raise_when_suppressed(self):
-        if self.transport_server is local.LocalURLServer:
+        if self.transport_server is test_server.LocalURLServer:
             self.transport_server = None
-        self.vfs_transport_factory = memory.MemoryServer
+        self.vfs_transport_factory = test_server.MemoryServer
         repo = self.make_repository('repo')
         token = repo.lock_write()
         self.addCleanup(repo.unlock)



More information about the bazaar-commits mailing list