MCPcopy Create free account
hub / github.com/dbcli/mycli / connection

Function connection

test/pytests/conftest.py:10–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9@pytest.fixture(scope="function")
10def connection():
11 create_db(DATABASE)
12 connection = db_connection(DATABASE)
13 yield connection
14
15 connection.close()
16
17
18@pytest.fixture

Callers

nothing calls this directly

Calls 3

create_dbFunction · 0.90
db_connectionFunction · 0.90
closeMethod · 0.45

Tested by

no test coverage detected