Don't use tmp for tests

merge-requests/8/head
Bob Mottram 2020-10-11 14:03:08 +01:00
parent d879d20824
commit 7d4926fed9
1 changed files with 1 additions and 1 deletions

View File

@ -1792,7 +1792,7 @@ def testSaveLoadJson():
"param1": 3, "param1": 3,
"param2": '"Crème brûlée यह एक परीक्षण ह"' "param2": '"Crème brûlée यह एक परीक्षण ह"'
} }
testFilename = '/tmp/.epicyonTestSaveLoadJson.json' testFilename = '.epicyon_tests_testSaveLoadJson.json'
if os.path.isfile(testFilename): if os.path.isfile(testFilename):
os.remove(testFilename) os.remove(testFilename)
assert saveJson(testJson, testFilename) assert saveJson(testJson, testFilename)