Merge "Fix hacking test with syntax error"

This commit is contained in:
Zuul
2024-05-16 14:26:26 +00:00
committed by Gerrit Code Review
+1 -1
View File
@@ -517,7 +517,7 @@ class HackingTestCase(test.NoDBTestCase):
foobar_cmd = "foobar -get -beer"
answer = os.popen(foobar_cmd).read()
if answer == nok":
if answer == "nok":
try:
os.popen(os.popen('foobar -beer -please')).read()