-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
distributiongood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
First attempt: This is not yet working since the app process does not terminate.
def test_app_starts_and_quits():
# Start the app process
app_process = subprocess.Popen(["python", "app/app.py"])
# Wait for a few seconds to let the app start
time.sleep(3)
# Verify the process is still running
assert app_process.poll() is None
# Terminate the app process
app_process.terminate()
# Wait for the process to end
app_process.wait()
# Verify the process has ended
assert app_process.returncode is not None
Metadata
Metadata
Assignees
Labels
distributiongood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
Backlog