Update _test_settings fixture to work with Django 4.1 and 4.2 (#507)

pull/509/head
Michael Manfre 2023-02-13 22:57:07 -05:00 zatwierdzone przez GitHub
rodzic 9a0008db06
commit 1ac6519316
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -59,7 +59,9 @@ kwIDAQAB
@pytest.fixture(autouse=True)
def _test_settings(settings):
settings.STATICFILES_STORAGE = None
settings.STATICFILES_STORAGE = (
"django.contrib.staticfiles.storage.StaticFilesStorage"
)
@pytest.fixture