mirror of https://gitlab.com/bashrc2/epicyon
Don't use tmp for tests
parent
d879d20824
commit
7d4926fed9
2
tests.py
2
tests.py
|
@ -1792,7 +1792,7 @@ def testSaveLoadJson():
|
|||
"param1": 3,
|
||||
"param2": '"Crème brûlée यह एक परीक्षण ह"'
|
||||
}
|
||||
testFilename = '/tmp/.epicyonTestSaveLoadJson.json'
|
||||
testFilename = '.epicyon_tests_testSaveLoadJson.json'
|
||||
if os.path.isfile(testFilename):
|
||||
os.remove(testFilename)
|
||||
assert saveJson(testJson, testFilename)
|
||||
|
|
Loading…
Reference in New Issue