Commit 1236d51e authored by Jim Fulton's avatar Jim Fulton

Don't use absolute paths in tests!

parent 65e022fd
...@@ -124,7 +124,7 @@ class ZEOConfigTest(ConfigTestBase): ...@@ -124,7 +124,7 @@ class ZEOConfigTest(ConfigTestBase):
cfg = """ cfg = """
<zodb> <zodb>
<zeoclient> <zeoclient>
blob-dir /tmp blob-dir blobs
server localhost:56897 server localhost:56897
wait false wait false
</zeoclient> </zeoclient>
...@@ -132,7 +132,7 @@ class ZEOConfigTest(ConfigTestBase): ...@@ -132,7 +132,7 @@ class ZEOConfigTest(ConfigTestBase):
""" """
config, handle = ZConfig.loadConfigFile(getDbSchema(), StringIO(cfg)) config, handle = ZConfig.loadConfigFile(getDbSchema(), StringIO(cfg))
self.assertEqual(config.database[0].config.storage.config.blob_dir, self.assertEqual(config.database[0].config.storage.config.blob_dir,
'/tmp') 'blobs')
self.assertRaises(ClientDisconnected, self._test, cfg) self.assertRaises(ClientDisconnected, self._test, cfg)
def database_xrefs_config(): def database_xrefs_config():
......
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