Skip to content

Commit 83acfca

Browse files
authored
Set fixture scope for "sqlalchemy_connect_url" fixture sample
1 parent 62de2c6 commit 83acfca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ You need to provide the connection URL for the engine when invoking the pytest c
4040

4141
Or override the `sqlalchemy_connect_url` fixture on your conftest file:
4242

43-
@pytest.fixture()
43+
@pytest.fixture(scope="session")
4444
def sqlalchemy_connect_url():
4545
return 'postgresql://scott:tiger@localhost:5432/mydatabase'
4646

0 commit comments

Comments
 (0)