Commit cb4f46d7 authored by Stephen Thompson's avatar Stephen Thompson

Issue #3 added sleep to test, trying to fix window's permsission problem

parent e518bdf7
Pipeline #4448 failed with stages
in 5 minutes and 59 seconds
......@@ -3,6 +3,7 @@
"""scikit-surgery-evaluation tests"""
from os import remove, path
from time import sleep
from sksurgeryeval.logging.surgery_logger import Logger
def test_empty_config():
......@@ -35,6 +36,7 @@ def test_non_empty_config():
assert path.exists("sks_evaluation.log")
logger.close()
sleep(0.5)
remove("sks_evaluation.log")
def test_overwrite():
......@@ -52,4 +54,5 @@ def test_overwrite():
assert path.exists("sks_evaluation.log")
logger.close()
sleep(0.5)
remove("sks_evaluation.log")
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