Spaces:
Sleeping
Sleeping
Update modules/testing.py
Browse files- modules/testing.py +1 -1
modules/testing.py
CHANGED
|
@@ -528,7 +528,7 @@ def register_module(app, client, username):
|
|
| 528 |
|
| 529 |
@router.get("/testing/run")
|
| 530 |
async def run_tests():
|
| 531 |
-
|
| 532 |
try:
|
| 533 |
results = await run_automated_tests()
|
| 534 |
return {"success": True, "results": results}
|
|
|
|
| 528 |
|
| 529 |
@router.get("/testing/run")
|
| 530 |
async def run_tests():
|
| 531 |
+
# FIXED: Direct call without circular import
|
| 532 |
try:
|
| 533 |
results = await run_automated_tests()
|
| 534 |
return {"success": True, "results": results}
|