1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-12 10:45:38 +02:00

Update tests/compose/test.py

Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
This commit is contained in:
Florent Daigniere 2023-02-20 11:53:52 +01:00 committed by GitHub
parent 511cdcf1ba
commit 8b502b73ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)