Orchestrata Ultimate › Tests › Reference › scripts › test_ast_dto

Tests reference — tests/scripts/test_ast_dto.py

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

Prose pending.

tests/scripts/test_ast_dto.py

source · 6 tests · 105 lines

Tests for the AST tool's long-params and gen-dto subcommands.

Kind Name Line Description
function test_long_params_flags_over_threshold 39
function test_long_params_excludes_self 51
function test_gen_dto_dataclass_compiles_with_fields 65
function test_gen_dto_pydantic_kind 80
function test_gen_dto_orders_required_before_defaulted 89
function test_gen_dto_missing_function_returns_none 102