We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb81254 + e257eaa commit 62de2c6Copy full SHA for 62de2c6
README.md
@@ -37,3 +37,10 @@ def test_connection(connection):
37
You need to provide the connection URL for the engine when invoking the pytest command::
38
39
pytest --sqlalchemy-connect-url="postgresql://scott:tiger@localhost:5432/mydatabase"
40
+
41
+Or override the `sqlalchemy_connect_url` fixture on your conftest file:
42
43
+ @pytest.fixture()
44
+ def sqlalchemy_connect_url():
45
+ return 'postgresql://scott:tiger@localhost:5432/mydatabase'
46
0 commit comments