Commit 65108784 authored by Guido van Rossum's avatar Guido van Rossum

Sigh. Make testZEOStorage() *really* work.

parent ee9e2a5c
...@@ -65,7 +65,7 @@ class StorageTestCase(unittest.TestCase): ...@@ -65,7 +65,7 @@ class StorageTestCase(unittest.TestCase):
storageconf = rootconf.getSection("Storage") storageconf = rootconf.getSection("Storage")
cls, args = StorageConfig.getStorageInfo(storageconf) cls, args = StorageConfig.getStorageInfo(storageconf)
self.assertEqual(cls, ClientStorage) self.assertEqual(cls, ClientStorage)
self.assertEqual(args, {"addr": [self.tmpfn], "wait": 0}) self.assertEqual(args, {"addr": [("www.python.org", 9001)], "wait": 0})
self.storage = StorageConfig.createStorage(storageconf) self.storage = StorageConfig.createStorage(storageconf)
self.assert_(isinstance(self.storage, ClientStorage)) self.assert_(isinstance(self.storage, ClientStorage))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment