Skip to content

Commit a16f5f7

Browse files
author
bjmb
committed
Added protocol version to test_session_host_parameter
1 parent 5d479d7 commit a16f5f7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/integration/standard/test_cluster.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,10 +193,10 @@ def test_session_host_parameter(self):
193193
@test_category connection
194194
"""
195195
with self.assertRaises(NoHostAvailable):
196-
Session(Cluster(), [])
196+
Session(Cluster(protocol_version=PROTOCOL_VERSION), [])
197197
with self.assertRaises(NoHostAvailable):
198-
Session(Cluster(), [Host("1.2.3.4", SimpleConvictionPolicy)])
199-
session = Session(Cluster(), [Host(x, SimpleConvictionPolicy) for x in
198+
Session(Cluster(protocol_version=PROTOCOL_VERSION), [Host("1.2.3.4", SimpleConvictionPolicy)])
199+
session = Session(Cluster(protocol_version=PROTOCOL_VERSION), [Host(x, SimpleConvictionPolicy) for x in
200200
("127.0.0.1", "127.0.0.2", "1.2.3.4")])
201201
session.shutdown()
202202

0 commit comments

Comments
 (0)