MAESTRO: fix async tests router validation

This commit is contained in:
Mariusz Banach
2026-02-18 01:13:47 +01:00
parent 426ea49393
commit d439fd80ef
3 changed files with 3 additions and 3 deletions

View File

@@ -12,4 +12,4 @@ router = APIRouter(prefix="/api", tags=["tests"])
def list_tests() -> list[TestResponse]:
registry = ScannerRegistry()
tests = registry.list_tests()
return [TestResponse.model_validate(test) for test in tests]
return [TestResponse.model_validate(test.model_dump()) for test in tests]