Update tests/compose/test.py

Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
main
Florent Daigniere 2 years ago committed by GitHub
parent dd21d4bf0c
commit 8d8f753796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,7 +22,7 @@ containers = []
def stop(exit_code): def stop(exit_code):
print_logs() print_logs()
sys.stdout.flush() sys.stdout.flush()
print(subprocess.check_output("docker compose -f " + compose_file + " down", shell=True).decode()) print(subprocess.check_output(f"docker compose -f {compose_file} down", shell=True).decode())
sys.exit(exit_code) sys.exit(exit_code)
def health_checks(deadline): def health_checks(deadline):

Loading…
Cancel
Save