MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / setup_connection

Function setup_connection

tests/integration/cqlengine/__init__.py:53–58  ·  view source on GitHub ↗
(keyspace_name)

Source from the content-addressed store, hash-verified

51
52
53def setup_connection(keyspace_name):
54 connection.setup([CASSANDRA_IP],
55 consistency=ConsistencyLevel.ONE,
56 protocol_version=PROTOCOL_VERSION,
57 allow_beta_protocol_version=ALLOW_BETA_PROTOCOL,
58 default_keyspace=keyspace_name)
59
60
61class StatementCounter(object):

Callers 7

tearDownClassMethod · 0.90
tearDownClassMethod · 0.90
tearDownClassMethod · 0.90
tearDownClassMethod · 0.90
tearDownClassMethod · 0.90
tearDownClassMethod · 0.90
setup_packageFunction · 0.70

Calls 1

setupMethod · 0.80

Tested by 6

tearDownClassMethod · 0.72
tearDownClassMethod · 0.72
tearDownClassMethod · 0.72
tearDownClassMethod · 0.72
tearDownClassMethod · 0.72
tearDownClassMethod · 0.72