[Checkins] SVN: ZODB/trunk/src/ZODB/tests/testConfig.py Don't use absolute paths in tests!
Jim Fulton
jim at zope.com
Mon May 4 11:10:52 EDT 2009
Log message for revision 99716:
Don't use absolute paths in tests!
Changed:
U ZODB/trunk/src/ZODB/tests/testConfig.py
-=-
Modified: ZODB/trunk/src/ZODB/tests/testConfig.py
===================================================================
--- ZODB/trunk/src/ZODB/tests/testConfig.py 2009-05-04 15:04:49 UTC (rev 99715)
+++ ZODB/trunk/src/ZODB/tests/testConfig.py 2009-05-04 15:10:52 UTC (rev 99716)
@@ -124,7 +124,7 @@
cfg = """
<zodb>
<zeoclient>
- blob-dir /tmp
+ blob-dir blobs
server localhost:56897
wait false
</zeoclient>
@@ -132,7 +132,7 @@
"""
config, handle = ZConfig.loadConfigFile(getDbSchema(), StringIO(cfg))
self.assertEqual(config.database[0].config.storage.config.blob_dir,
- '/tmp')
+ 'blobs')
self.assertRaises(ClientDisconnected, self._test, cfg)
def database_xrefs_config():
More information about the Checkins
mailing list