Orchestrata Ultimate › Tests › Reference › scripts › test_ast_api

Tests reference — tests/scripts/test_ast_api.py

Module of tests/scripts, split out because the directory page would be too large.

Prose pending.

tests/scripts/test_ast_api.py

source · 26 tests · 281 lines

Tests for the FastAPI AST-toolkit service (scripts/ast_api.py).

Kind Name Line Description
function test_healthz 56
function test_symbols_endpoint 62
function test_complexity_endpoint 69
function test_refs_endpoint 76
function test_interface_endpoint_returns_protocol 82
function test_diagram_endpoint 88
function test_long_params_endpoint 94
function test_cycles_endpoint_clean 102
function test_dead_params_endpoint 108
function test_untyped_endpoint_flags_helper 114
function test_gen_tests_endpoint 121
function test_pattern_endpoint 127
function test_pattern_endpoint_rejects_unknown 135
function test_gen_dto_endpoint 141
function test_openapi_schema_is_generated 150
function test_swagger_ui_served 171
function test_unused_endpoint 177
function test_nesting_endpoint 183
function test_audit_endpoint 190
function test_branches_endpoint 196
function test_who_imports_endpoint 203
function test_untraced_endpoint 209
function test_check_deps_endpoint 216
function test_check_deps_endpoint_include_tests 240
function test_docs_md_endpoint 265
function test_load_tool_raises_import_error_when_spec_unresolvable 271 Line 36: _load_tool() raises ImportError when spec_from_file_location