bugfix test case
This commit is contained in:
1 parent
96ffd5509f
commit
272ed8629f
1 file changed
+2
-2
@@ -477,7 +477,7 @@ class TestMainloop():
|
||||
return False
|
||||
|
||||
result, status = self.main.handleRequest(endpoint, data)
|
||||
if status == expected_status:
|
||||
if status in expected_status:
|
||||
print(f"-> {Color.GREEN}[PASS]{Color.RESET} endpoint:{endpoint} Status: {status}, Result: {result}")
|
||||
success = True
|
||||
else:
|
||||
@@ -605,7 +605,7 @@ class TestMainloop():
|
||||
return False
|
||||
|
||||
result, status = self.main.handleRequest(endpoint, data)
|
||||
if status == expected_status:
|
||||
if status in expected_status:
|
||||
print(f"-> {Color.GREEN}[PASS]{Color.RESET} endpoint:{endpoint} Status: {status}, Result: {result}")
|
||||
success = True
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user