|
Option C Tools
|
Functions | |
| test_normal_version () | |
| test_prerelease_alpha () | |
| test_prerelease_rc () | |
| test_prerelease_beta () | |
| test_single_segment () | |
| test_two_segments () | |
Purpose ------- Validate the version-parsing utility in ``oct.core.compat``. Responsibilities ---------------- - Confirm that normal dotted version strings parse correctly. - Confirm that pre-release version strings (alpha, rc) do not crash (OI-421). - Confirm that single-segment versions parse correctly. Diagnostics ----------- Domain: LINTER-TESTS L2: test lifecycle L3: assertion details L4: deep tracing Contracts --------- Inputs: version strings Outputs: pass/fail assertions
| tests_linter.test_compat.test_normal_version | ( | ) |
Standard dotted version string parses correctly.
Definition at line 32 of file test_compat.py.
| tests_linter.test_compat.test_prerelease_alpha | ( | ) |
Pre-release alpha string should not crash (OI-421).
Definition at line 37 of file test_compat.py.
| tests_linter.test_compat.test_prerelease_beta | ( | ) |
Pre-release beta string should not crash (OI-421).
Definition at line 49 of file test_compat.py.
| tests_linter.test_compat.test_prerelease_rc | ( | ) |
Release candidate string should not crash (OI-421).
Definition at line 43 of file test_compat.py.
| tests_linter.test_compat.test_single_segment | ( | ) |
Single-segment version string parses correctly.
Definition at line 55 of file test_compat.py.
| tests_linter.test_compat.test_two_segments | ( | ) |
Two-segment version string parses correctly.
Definition at line 60 of file test_compat.py.