mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-26 09:11:00 +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
|
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 a new issue