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

Function setup_module

tests/integration/standard/test_query.py:44–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42
43
44def setup_module():
45 if not USE_CASS_EXTERNAL:
46 use_singledc(start=False)
47 ccm_cluster = get_cluster()
48 ccm_cluster.stop()
49 # This is necessary because test_too_many_statements may
50 # timeout otherwise
51 config_options = {'write_request_timeout_in_ms': '20000'}
52 ccm_cluster.set_configuration_options(config_options)
53 ccm_cluster.start(wait_for_binary_proto=True, wait_other_notice=True)
54
55 setup_keyspace()
56
57
58class QueryTests(BasicSharedKeyspaceUnitTestCase):

Callers

nothing calls this directly

Calls 6

use_singledcFunction · 0.90
get_clusterFunction · 0.90
setup_keyspaceFunction · 0.90
stopMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected