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

Function setup_package

tests/integration/cqlengine/__init__.py:34–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33
34def setup_package():
35 warnings.simplefilter('always') # for testing warnings, make sure all are let through
36 os.environ[CQLENG_ALLOW_SCHEMA_MANAGEMENT] = '1'
37
38 use_single_node()
39
40 setup_connection(DEFAULT_KEYSPACE)
41 create_keyspace_simple(DEFAULT_KEYSPACE, 1)
42
43
44def teardown_package():

Callers 1

Calls 3

use_single_nodeFunction · 0.90
create_keyspace_simpleFunction · 0.90
setup_connectionFunction · 0.70

Tested by 1