mirror of https://github.com/stijndcl/didier
Use event loop fixture again
parent
cc8f8b1ee4
commit
6b91e792e6
|
@ -19,7 +19,7 @@ def event_loop() -> Generator:
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="session")
|
@pytest.fixture(scope="session")
|
||||||
def tables():
|
def tables(event_loop):
|
||||||
"""Initialize a database before the tests, and then tear it down again
|
"""Initialize a database before the tests, and then tear it down again
|
||||||
Starts from an empty database and runs through all the migrations to check those as well
|
Starts from an empty database and runs through all the migrations to check those as well
|
||||||
while we're at it
|
while we're at it
|
||||||
|
|
Loading…
Reference in New Issue