Commit 89dff1d8 authored by Jim Fulton's avatar Jim Fulton

Create temp files in the cwd, so they get cleaned up at the end of the test.

parent 6145256c
......@@ -118,7 +118,7 @@ def start_zeo_server(storage_conf, zeo_conf, port, keep=0):
"""
# Store the config info in a temp file.
tmpfile = tempfile.mktemp(".conf")
tmpfile = tempfile.mktemp(".conf", dir=os.getcwd())
fp = open(tmpfile, 'w')
zeo_conf.dump(fp)
fp.write(storage_conf)
......
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