Skip to content

Commit

Permalink
Remove daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
PonteIneptique committed Mar 20, 2024
1 parent c92ad80 commit d47e45c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_selenium/test_corpus_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -705,6 +705,5 @@ def lemmatizing():
"Operation finished with success ! 2 tokens analyzed in total.",
"Lemmatization happened"
)

# Kill second app
second_app.terminate()

0 comments on commit d47e45c

Please sign in to comment.