From 47bfe00d593bfc90d722efb9d738aeae112e9252 Mon Sep 17 00:00:00 2001 From: Dwayne Bailey Date: Wed, 6 Jul 2016 16:16:56 +0100 Subject: [PATCH] pytest: drop internal fixtures See https://github.com/pytest-dev/pytest-django/commit/e540acef62fe4a672b52dbc63b14ce4990d00c5b for associated code changes. --- pytest_pootle/fixtures/site.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pytest_pootle/fixtures/site.py b/pytest_pootle/fixtures/site.py index a246e63a508..6b212734cb0 100644 --- a/pytest_pootle/fixtures/site.py +++ b/pytest_pootle/fixtures/site.py @@ -28,10 +28,10 @@ def setup_db_if_needed(request): @pytest.fixture(scope='session') -def post_db_setup(translations_directory, _django_db_setup, - _django_cursor_wrapper, request): +def post_db_setup(translations_directory, django_db_setup, + django_db_blocker, request): """Sets up the site DB for the test session.""" - with _django_cursor_wrapper: + with django_db_blocker: PootleTestEnv(request).setup()