Fix tests with no static collection

This commit is contained in:
Andrew Godwin 2022-12-15 10:09:35 -07:00
parent af3142ac3a
commit 525deb4418
2 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,7 @@ multi_line_output = 3
addopts = --tb=short --ds=takahe.settings --import-mode=importlib
filterwarnings =
ignore:There is no current event loop
ignore:No directory at
[mypy]
warn_unused_ignores = True

View File

@ -56,6 +56,11 @@ kwIDAQAB
}
@pytest.fixture(autouse=True)
def _test_settings(settings):
settings.STATICFILES_STORAGE = None
@pytest.fixture
def config_system(keypair):
Config.system = Config.SystemOptions(