We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c9d6fe commit 3a5a357Copy full SHA for 3a5a357
tests/unit/test_parameters.py
@@ -64,13 +64,7 @@ class TestSessionHandleChecks(object):
64
],
65
)
66
def test_get_protocol_version_fallback_behavior(self, test_input, expected):
67
- properties = (
68
- {"serverProtocolVersion": test_input.serverProtocolVersion}
69
- if test_input.serverProtocolVersion
70
- else {}
71
- )
72
- session_id = SessionId.from_thrift_handle(test_input.sessionHandle, properties)
73
- assert Connection.get_protocol_version(session_id) == expected
+ assert Connection.get_protocol_version(test_input) == expected
74
75
@pytest.mark.parametrize(
76
"test_input,expected",
0 commit comments