Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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"
)
10
def
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_db
Function · 0.90
db_connection
Function · 0.90
close
Method · 0.45
Tested by
no test coverage detected