make the shared connection internal to the db module
This should make it easier to refactor the code for removing the databases package.
This commit is contained in:
parent
22ea553f48
commit
1f42538481
3 changed files with 27 additions and 23 deletions
|
|
@ -17,7 +17,7 @@ def event_loop():
|
|||
|
||||
@pytest_asyncio.fixture(scope="session")
|
||||
async def shared_conn():
|
||||
c = db.shared_connection()
|
||||
c = db._shared_connection()
|
||||
await c.connect()
|
||||
|
||||
await db.apply_db_patches(c)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue