(self, protocol)
| 60 | |
| 61 | @pytest.mark.parametrize("protocol", [2, "2"]) |
| 62 | def test_resp2_matches(self, protocol): |
| 63 | assert check_protocol_version(protocol, 2) is True |
| 64 | assert check_protocol_version(protocol, 3) is False |
| 65 | |
| 66 | def test_invalid_string_returns_false(self): |
| 67 | assert check_protocol_version("not-a-number", 3) is False |
nothing calls this directly
no test coverage detected