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

Function setup_module

tests/integration/long/test_ipv6.py:43–49  ·  view source on GitHub ↗
(module)

Source from the content-addressed store, hash-verified

41
42
43def setup_module(module):
44 if os.name != "nt":
45 validate_host_viable()
46 # We use a dedicated cluster (instead of common singledc, as in other tests) because
47 # it's most likely that the test host will only have one local ipv6 address (::1)
48 # singledc has three
49 use_cluster(IPV6_CLUSTER_NAME, [1], ipformat='::%d')
50
51
52def teardown_module():

Callers

nothing calls this directly

Calls 2

use_clusterFunction · 0.90
validate_host_viableFunction · 0.85

Tested by

no test coverage detected