diff --git a/tests/conftest.py b/tests/conftest.py index 3e5031af..f79ae026 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -79,8 +79,8 @@ def yield_sqlite_platform(*args): def get_platform(gen): - def fixture(request): - with gen(request.config.options.postgres_dsn) as p: + def fixture(pytestconfig): + with gen(pytestconfig.option.postgres_dsn) as p: yield p return fixture