mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 07:10:59 +00:00
Update _test_settings fixture to work with Django 4.1 and 4.2 (#507)
This commit is contained in:
parent
9a0008db06
commit
1ac6519316
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue