Skip to content

Commit

Permalink
FIX: start test script in shell, do not start file
Browse files Browse the repository at this point in the history
  • Loading branch information
desty2k committed Oct 7, 2021
1 parent b9f7e82 commit d1d1370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
def test_deleter():
with open(FILENAME, "w+") as f:
f.write(TEST_SCRIPT)
subprocess.run("python {}".format(FILENAME))
subprocess.run("python {}".format(FILENAME), shell=True)
time.sleep(3)
if os.path.isfile(FILENAME):
raise Exception("deleter did not work")

0 comments on commit d1d1370

Please sign in to comment.