Orchestrata Ultimate › Tests › Reference › scripts › test_ast_patterns
Tests reference — tests/scripts/test_ast_patterns.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_ast_patterns.py
source · 8 tests · 176 lines
Tests for the AST tool's
nestingandpattern(Gang-of-Four)
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_nesting_measures_depth |
43 | |
| function | test_nesting_threshold_filters |
63 | |
| function | test_nesting_footer_reports_true_total_without_top |
81 | |
| function | test_nesting_footer_reports_true_total_with_top_truncation |
101 | |
| function | test_pattern_generates_valid_code |
145 | |
| function | test_pattern_decorator_forwards_public_api |
153 | |
| function | test_pattern_strategy_extracts_protocol |
165 | |
| function | test_pattern_missing_class_returns_none |
173 |