@pytest.fixture(scope="session")defapp_server():
withTestProcess("docker-compose", "up") asapp_server:
wait_for_strings(app_server.read, 60, "Booting worker")
print(app_server.read())
yieldapp_serverprint("\n>>>>Teardown app_service")This is doing fine, but the teardown is not happening (docker ps shows my apps still running)
I added this line app_server.close("docker-compose stop") in a desperate guess, for no avail.
Would you have a suggestion on how act here?
This is doing fine, but the
teardownis not happening (docker psshows my apps still running)I added this line
app_server.close("docker-compose stop")in a desperate guess, for no avail.Would you have a suggestion on how act here?