Orchestrata Ultimate › Tests › Reference › scripts › test_ast_cycles
Tests reference — tests/scripts/test_ast_cycles.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_ast_cycles.py
source · 8 tests · 189 lines
Tests for the
find-cyclessubcommand of the AST tool
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_two_module_cycle_is_reported |
61 | |
| function | test_acyclic_graph_yields_no_cycles |
80 | |
| function | test_three_module_cycle_reported_once |
93 | |
| function | test_relative_imports_resolve_and_cycle |
112 | |
| function | test_third_party_imports_are_ignored |
123 | |
| function | test_cli_advisory_exit_zero_with_cycle |
136 | |
| function | test_cli_strict_exit_one_with_cycle |
151 | |
| function | test_cli_strict_exit_zero_when_clean |
171 |