Orchestrata Ultimate › Tests › Reference › agents › test_swarm_coordinator_real
Tests reference — tests/agents/test_swarm_coordinator_real.py
Module of tests/agents, split out because the directory page would be too large.
Prose pending.
tests/agents/test_swarm_coordinator_real.py
source · 45 tests · 376 lines
Real tests for agents.swarm.coordinator — pure AST/file operations.
Covers: agents.swarm.coordinator, agents.swarm.types
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_is_source_file_positive |
11 | |
| function | test_is_source_file_negative_non_py |
15 | |
| function | test_is_source_file_negative_init |
19 | |
| function | test_is_source_file_negative_conftest |
23 | |
| function | test_is_source_file_negative_test_prefix |
27 | |
| function | test_shard_result_fields |
31 | |
| function | test_coordinator_defaults |
37 | |
| function | test_scan_workspace_skips_dot_and_dirs |
44 | |
| function | test_build_shard_prompt_missing_file |
58 | |
| function | test_build_shard_prompt_existing_file |
70 | |
| function | test_check_traceability_no_traces_import |
78 | |
| function | test_check_traceability_private_functions_skipped |
85 | |
| function | test_check_traceability_public_function_missing_traces |
93 | |
| function | test_check_traceability_public_class_with_traces_decorator |
100 | |
| function | test_check_traceability_skips_init_and_conftest |
113 | |
| function | test_check_traceability_syntax_error_returns_empty |
120 | |
| function | test_has_traces_decorator_by_attribute |
126 | |
| function | test_has_traces_decorator_named |
137 | |
| function | test_has_traces_decorator_attribute_call |
147 | |
| function | test_has_traces_decorator_absent |
157 | |
| function | test_check_interface_compliance_no_spec |
167 | |
| function | test_check_interface_compliance_spec_matches |
173 | |
| function | test_check_interface_compliance_missing_function |
180 | |
| function | test_check_interface_compliance_syntax_error |
187 | |
| function | test_sync_file_to_registry_extracts_classes_and_funcs |
194 | |
| function | test_sync_file_to_registry_strips_src_prefix |
212 | |
| function | test_sync_file_non_py_skipped |
222 | |
| function | test_sync_file_missing_skipped |
230 | |
| function | test_get_kg_import_context_empty |
236 | |
| function | test_get_kg_import_context_formats |
241 | |
| function | test_build_fix_prompt |
252 | |
| function | test_build_fix_prompt_missing_file |
262 | |
| function | test_review_file_syntax_error |
268 | |
| function | test_review_file_ok |
276 | |
| function | test_review_file_forbidden_imports |
284 | |
| function | test_review_file_non_py |
297 | |
| function | test_review_file_missing |
305 | |
| function | test_check_syntax_valid |
311 | |
| function | test_check_syntax_invalid |
320 | |
| function | test_check_syntax_non_py |
329 | |
| function | test_copy_workspace |
335 | |
| function | test_execute_swarm_empty_source_files |
345 | |
| function | test_check_lint_non_py |
355 | |
| function | test_check_lint_missing_file |
361 | |
| function | test_build_shard_prompt_requirements_matching |
367 |