tests - add missing decode

This commit is contained in:
florian 2022-07-14 15:32:18 +02:00
parent 8b3b1291cc
commit 67608a463a

View file

@ -45,7 +45,7 @@ class AutoconfTest(Test) :
proc = run('docker inspect --format "{{json .State.Health }}" autoconf_mybunker_1', cwd="/tmp/autoconf", shell=True, capture_output=True)
if proc.returncode != 0 :
raise(Exception("docker-compose inspect failed (autoconf stack)"))
if "healthy" in proc.stdout :
if "healthy" in proc.stdout.decode() :
healthy = True
break
sleep(1)