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
|
addopts = --tb=short --ds=takahe.settings --import-mode=importlib
|
||||||
filterwarnings =
|
filterwarnings =
|
||||||
ignore:There is no current event loop
|
ignore:There is no current event loop
|
||||||
|
ignore:No directory at
|
||||||
|
|
||||||
[mypy]
|
[mypy]
|
||||||
warn_unused_ignores = True
|
warn_unused_ignores = True
|
||||||
|
|
|
@ -56,6 +56,11 @@ kwIDAQAB
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture(autouse=True)
|
||||||
|
def _test_settings(settings):
|
||||||
|
settings.STATICFILES_STORAGE = None
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def config_system(keypair):
|
def config_system(keypair):
|
||||||
Config.system = Config.SystemOptions(
|
Config.system = Config.SystemOptions(
|
||||||
|
|
Loading…
Reference in New Issue