diff options
author | Andrew Godwin | 2022-12-15 10:09:35 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-12-15 10:09:35 -0700 |
commit | 525deb441842191a0a083e4bff54053d04c30b3e (patch) | |
tree | c9a1ed49d6e52a75432d93da52bd91cc2cad06e6 | |
parent | af3142ac3adb0d1f31d160edcb6d076b293020b1 (diff) | |
download | takahe-525deb441842191a0a083e4bff54053d04c30b3e.tar.gz takahe-525deb441842191a0a083e4bff54053d04c30b3e.tar.bz2 takahe-525deb441842191a0a083e4bff54053d04c30b3e.zip |
Fix tests with no static collection
-rw-r--r-- | setup.cfg | 1 | ||||
-rw-r--r-- | tests/conftest.py | 5 |
2 files changed, 6 insertions, 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 diff --git a/tests/conftest.py b/tests/conftest.py index 4466130..d65b5da 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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( |