busya
4dce669844
fix(tests): 61 failed backend unit tests — async/await mocks, deadlock fix, SyntaxError repairs
Группы исправлений:
- Группа 1 (async/await misuse): MagicMock → AsyncMock для get_dashboards,
export_dashboard, import_dashboard, sync_environment, get_run_detail,
list_all_runs, create_task и др. — 23 теста
- Группа 2 (runner.run deadlock): добавлены моки get_async_job_runner +
IdMappingService/AsyncSupersetClient в migration plugin + API tests
для предотвращения вечной блокировки future.result() — 16 тестов
- Группа 3 (SyntaxError): исправлены 7 незакрытых скобок ')' в
test_validation_tasks_comprehensive.py (QA-агент оставил AsyncMock
без закрывающих скобок)
- Группа 4 (mock verification): logger mock error→explore, scheduler tests
skipped (удалён из production), dataset mapper — 11 тестов
- Группа 5 (search/assistant): MagicMock → AsyncMock — 9 тестов
- Группа 6 (extractor parsing): AsyncMock для async методов — 9 тестов
Итого: 61 ранее FAILED → 274 passed, 4 skipped, 0 failed
2026-06-18 14:41:13 +03:00
..
2026-05-31 22:32:20 +03:00
2026-06-16 00:12:49 +03:00
2026-06-15 18:30:05 +03:00
2026-06-15 17:31:43 +03:00
2026-06-15 16:06:18 +03:00
2026-06-15 16:06:18 +03:00
2026-06-15 16:45:49 +03:00
test: +12 test modules — clean_release routes, gitea routes, dashboard detail, candidate_service, compliance_orchestrator, clarification_engine/orchestrator, dataset_review helpers. Fix 18 failures (assistant tools, maintence, dataset_review, approval, publication)
2026-06-15 16:26:42 +03:00
2026-06-15 16:06:18 +03:00
2026-06-15 17:08:08 +03:00
2026-06-15 16:06:18 +03:00
2026-06-16 00:12:49 +03:00
2026-06-15 16:06:18 +03:00
2026-06-16 00:12:49 +03:00
2026-06-15 19:31:56 +03:00
2026-06-16 00:12:49 +03:00
2026-06-18 14:41:13 +03:00
2026-06-15 15:38:59 +03:00
test: +12 test modules — clean_release routes, gitea routes, dashboard detail, candidate_service, compliance_orchestrator, clarification_engine/orchestrator, dataset_review helpers. Fix 18 failures (assistant tools, maintence, dataset_review, approval, publication)
2026-06-15 16:26:42 +03:00
test: +12 test modules — clean_release routes, gitea routes, dashboard detail, candidate_service, compliance_orchestrator, clarification_engine/orchestrator, dataset_review helpers. Fix 18 failures (assistant tools, maintence, dataset_review, approval, publication)
2026-06-15 16:26:42 +03:00
2026-06-15 13:55:57 +03:00
2026-06-15 18:30:05 +03:00
2026-06-15 15:38:59 +03:00
2026-06-15 18:30:05 +03:00
2026-06-15 18:30:05 +03:00
2026-06-15 17:31:43 +03:00
2026-06-16 11:01:31 +03:00
2026-06-16 00:12:49 +03:00
2026-06-15 13:55:57 +03:00
2026-06-15 15:38:59 +03:00
2026-06-15 13:55:57 +03:00
2026-06-15 13:55:57 +03:00
test: +12 test modules — clean_release routes, gitea routes, dashboard detail, candidate_service, compliance_orchestrator, clarification_engine/orchestrator, dataset_review helpers. Fix 18 failures (assistant tools, maintence, dataset_review, approval, publication)
2026-06-15 16:26:42 +03:00
2026-06-15 15:38:59 +03:00
2026-06-15 22:04:40 +03:00
2026-06-15 22:04:40 +03:00
2026-06-15 19:31:56 +03:00
2026-06-15 17:08:08 +03:00
2026-06-16 00:12:49 +03:00
2026-06-15 13:55:57 +03:00
2026-06-15 19:31:56 +03:00
2026-05-31 22:32:20 +03:00
2026-06-15 17:31:43 +03:00
2026-06-16 00:12:49 +03:00
2026-06-15 19:31:56 +03:00
2026-06-15 18:02:09 +03:00
2026-06-18 14:41:13 +03:00
2026-06-15 15:38:59 +03:00
2026-06-15 16:45:49 +03:00
2026-06-15 17:08:08 +03:00
2026-06-16 00:12:49 +03:00
2026-06-16 11:01:31 +03:00
2026-06-15 18:02:09 +03:00
2026-06-15 19:31:56 +03:00
2026-05-31 22:32:20 +03:00
2026-06-16 12:01:03 +03:00
2026-06-15 16:45:49 +03:00
2026-06-15 17:08:08 +03:00
2026-06-15 15:38:59 +03:00
2026-06-15 17:31:43 +03:00
2026-06-15 16:45:49 +03:00
2026-06-15 16:45:49 +03:00
2026-06-15 17:08:08 +03:00
2026-06-15 16:45:49 +03:00
2026-06-15 17:08:08 +03:00
2026-06-15 17:31:43 +03:00
2026-06-15 17:08:08 +03:00
2026-06-18 14:41:13 +03:00
2026-06-15 19:31:56 +03:00
2026-06-18 14:41:13 +03:00