mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 07:10:59 +00:00
Fix tests with no static collection
This commit is contained in:
parent
af3142ac3a
commit
525deb4418
2 changed files with 6 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue