Fix tests with no static collection
This commit is contained in:
parent
af3142ac3a
commit
525deb4418
@ -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
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user