clan-app: Make http server non blocking, add tests for the http server and for cancelling tasks

This commit is contained in:
Qubasa
2025-07-10 17:21:18 +07:00
parent 70eb67ffd2
commit 695141b2ae
6 changed files with 38 additions and 41 deletions

View File

@@ -21,7 +21,7 @@ exclude = ["result", "**/__pycache__"]
clan_app = ["**/assets/*"]
[tool.pytest.ini_options]
testpaths = "tests"
testpaths = [ "tests", "clan_app" ]
faulthandler_timeout = 60
log_level = "DEBUG"
log_format = "%(levelname)s: %(message)s\n %(pathname)s:%(lineno)d::%(funcName)s"