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 511cdcf1ba
commit 8b502b73ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -88,7 +88,7 @@ def hooks():
sys.stdout.flush()
deadline=datetime.datetime.now()+datetime.timedelta(minutes=timeout)
deadline=calendar.timegm(deadline.timetuple())
print(subprocess.check_output("docker compose -f " + compose_file + " up -d", shell=True).decode())
print(subprocess.check_output(f"docker compose -f {compose_file} up -d", shell=True).decode())
print()
print(Fore.LIGHTMAGENTA_EX + "Sleeping for 10s" + Style.RESET_ALL)
time.sleep(10)

Loading…
Cancel
Save