MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / pytest_configure

Function pytest_configure

txcouchbase/tests/conftest.py:28–36  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

26
27
28def pytest_configure(config):
29 run_tx = config.getoption('--txcouchbase')
30 if config and config.option and config.option.markexpr:
31 run_tx = config.getoption('--txcouchbase')
32 if 'txcouchbase' in config.option.markexpr:
33 run_tx = True
34
35 if run_tx is True:
36 init_reactor()
37
38
39def run_in_reactor_thread(fn, *args, **kwargs):

Callers

nothing calls this directly

Calls 1

init_reactorFunction · 0.85

Tested by

no test coverage detected