chore: update backend tests

This commit is contained in:
2026-06-16 12:01:03 +03:00
parent 6162fc824f
commit 508377f7a7
16 changed files with 149 additions and 89 deletions

View File

@@ -1,5 +1,10 @@
# ... (same header as before)
# #region Test.Api.Tasks [C:3] [TYPE Module] [SEMANTICS test,tasks,api,routes,crud]
# @BRIEF API contract tests for task routes — create, list, get, update, cancel, and provider binding.
# @RELATION BINDS_TO -> [TasksApi]
# @TEST_EDGE: missing_plugin_id -> 400 when plugin_id missing
# @TEST_EDGE: invalid_method -> 405 for unsupported HTTP method
# @TEST_EDGE: task_not_found -> 404 for nonexistent task
# @TEST_EDGE: unauthorized_access -> 401 when no auth token
import os
os.environ.setdefault("DATABASE_URL", "sqlite:///:memory:")