From d47e45c682482648587a34cf437e3fbf2d9b42f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Cl=C3=A9rice?= Date: Wed, 20 Mar 2024 07:54:41 +0100 Subject: [PATCH] Remove daemon --- tests/test_selenium/test_corpus_init.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_selenium/test_corpus_init.py b/tests/test_selenium/test_corpus_init.py index 80bccf92..22d3a9ff 100644 --- a/tests/test_selenium/test_corpus_init.py +++ b/tests/test_selenium/test_corpus_init.py @@ -672,7 +672,7 @@ def lemmatizing(): } ) # Start it - second_app = Process(target=app.run, daemon=True, kwargs=dict(host="localhost", port="4567")) + second_app = Process(target=app.run, kwargs=dict(host="localhost", port="4567")) second_app.start() self.driver_find_element_by_id("new_corpus_link").click() @@ -705,6 +705,5 @@ def lemmatizing(): "Operation finished with success ! 2 tokens analyzed in total.", "Lemmatization happened" ) - # Kill second app second_app.terminate()