Skip to content
Snippets Groups Projects
Commit 2206a32d authored by Pierre-Alain Loizeau's avatar Pierre-Alain Loizeau
Browse files

Fix logger tests not being independent by setting clear_file flag

parent 7101aa2b
No related branches found
No related tags found
1 merge request!20V0 2 7 extras gui decoupling
=> EcsLogTest : ( | Starting to process the buffered entries in logger for EcsLogTest )
=> EcsLogTest : ( | Logger terminating )
=> EcsLogTest : ( | Starting to process the buffered entries in logger for EcsLogTest )
=> EcsLogTest : ( | test_sequence => Test info )
<Note> => EcsLogTest : ( | test_sequence => Test note )
<ERROR> => EcsLogTest : ( | test_sequence => Test error )
......
......@@ -20,7 +20,7 @@ from .auxiliary_fcts import check_matching_logs_and_time
@pytest.fixture()
def EcsLoggerInstance() -> Generator[ EcsLogger, None, None ]:
logger: EcsLogger = EcsLogger(zmq.Context(), "EcsLogTest", "127.0.0.1", 42666, 100, LogSeverity.info, False,
"log/EcsLogTest.log", False, False)
"log/EcsLogTest.log", True, False)
yield logger
logger.terminate()
# FIXME: delete the log file?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment