(text, version)
| 93 | ], |
| 94 | ) |
| 95 | def test_version_detection(text, version): |
| 96 | # GIVEN / WHEN |
| 97 | result = VERSION_REGEXP.match(text) |
| 98 | |
| 99 | # THEN |
| 100 | assert result |
| 101 | |
| 102 | major, minor = version |
| 103 | assert int(result.group("major")) == major |
| 104 | assert int(result.group("minor")) == minor |
| 105 | |
| 106 | |
| 107 | def test_get_python_version_for_process_fallback_bss(): |
nothing calls this directly
no outgoing calls
no test coverage detected