Orchestrata Ultimate › Tests › Reference › scripts › test_run_ast_pipeline_cli
Tests reference — tests/scripts/test_run_ast_pipeline_cli.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_run_ast_pipeline_cli.py
source · 6 tests · 173 lines
Tests for scripts/run_ast_pipeline.py — the thin invocation wrapper
Covers: tools.ast_pipeline
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_import_inserts_repo_src_when_missing |
54 | When <repo>/src is not already on sys.path, loading the wrapper |
| function | test_import_noop_when_repo_src_already_present |
71 | When <repo>/src is already importable (the normal test-suite |
| function | test_wrapper_reexports_real_ast_pipeline_main |
88 | |
| function | test_wrapper_main_returns_1_when_serializer_missing |
98 | Drives the real ast_pipeline.main (the same function object the |
| function | test_module_entrypoint_guard_calls_sys_exit_main |
124 | Covers the if __name__ == "__main__": sys.exit(main()) guard |
| function | test_module_docstring_and_usage_note_present |
171 |