mirror of
https://github.com/dnlbauer/django-signposting.git
synced 2026-09-10 14:05:31 +00:00
fix pytests django settings init
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
from django.http import HttpResponse, HttpRequest
|
||||
from django.conf import settings
|
||||
from django.http import HttpResponse
|
||||
from django_signposting.middleware import SignpostingMiddleware
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture(scope="module", autouse=True)
|
||||
def configure_django_settings():
|
||||
settings.configure()
|
||||
|
||||
|
||||
def test_middleware_no_signposting():
|
||||
|
||||
Reference in New Issue
Block a user