Orchestrata Ultimate › Tests › Reference › scripts › test_check_env_subnet_scheme_coverage
Tests reference — tests/scripts/test_check_env_subnet_scheme_coverage.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_check_env_subnet_scheme_coverage.py
source · 6 tests · 161 lines
Coverage-completion tests for scripts/check_env_subnet_scheme.py.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_self_check_reports_frame_split |
59 | First two octets differing across envs violates the shared-frame ruling. |
| function | test_self_check_reports_env_octet_collision |
69 | Two envs claiming the same third octet violates the unique-env-octet ruling. |
| function | test_self_check_reports_both_violations_together |
78 | A scheme that splits the frame AND collides octets reports both findings. |
| function | test_main_missing_profile_exits_2 |
94 | A repo root without env/<name>.env must FAIL with exit 2, naming the profile. |
| function | test_main_violations_exit_1_with_error_lines |
107 | Profiles with off-scheme addresses -> per-violation [error] lines, exit 1. |
| function | test_main_violations_with_pending_env_report_pending_label |
135 | A pending-migration env is pinned to its legacy subnet: on-pin passes, |