Orchestrata Ultimate › Tests › Reference › scripts › test_ast_extract_class
Tests reference — tests/scripts/test_ast_extract_class.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_ast_extract_class.py
source · 6 tests · 198 lines
Tests for the AST tool's
extract-classsubcommand
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_extract_one_method_dry_run_then_apply_preserves_behaviour |
88 | Pull taxed_total into a new TaxCalc: the collaborator gets an |
| function | test_extract_apply_via_cli_subprocess_round_trips |
140 | Drive the real CLI (extract-class ... --apply) end to end and prove the |
| function | test_extract_warns_on_shared_field |
169 | subtotal (staying) and taxed_total (moving) both read self.items, |
| function | test_extract_missing_method_returns_error |
179 | |
| function | test_extract_missing_class_returns_error |
187 | |
| function | test_extract_rejects_invalid_new_name |
194 |