bugfix test case

This commit is contained in:
misyaguziya
2025-09-25 16:39:18 +09:00
parent 96ffd5509f
commit 272ed8629f

View File

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