diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-07-22 23:40:20 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-07-22 23:45:34 +0200 |
commit | 109332ee71869f090a472bd2fb455f2d3f48b91e (patch) | |
tree | 21b3b00ffd2bb8d7eb982869cc9560c78663e4e3 /tests | |
parent | 4a67a98222443e286f8db9650327250021c76ef5 (diff) | |
parent | d2a8a75667e7e2ce5c7bdd7fd351136b70ec7913 (diff) | |
download | fietsboek-109332ee71869f090a472bd2fb455f2d3f48b91e.tar.gz fietsboek-109332ee71869f090a472bd2fb455f2d3f48b91e.tar.bz2 fietsboek-109332ee71869f090a472bd2fb455f2d3f48b91e.zip |
Merge branch 'image-upload'
Diffstat (limited to 'tests')
-rw-r--r-- | tests/conftest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 79f0245..a91d2f4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -47,7 +47,8 @@ def dbengine(app_settings, ini_file): alembic.command.stamp(alembic_cfg, None, purge=True) @pytest.fixture(scope='session') -def app(app_settings, dbengine): +def app(app_settings, dbengine, tmp_path_factory): + app_settings["fietsboek.data_dir"] = str(tmp_path_factory.mktemp("data")) return main({}, dbengine=dbengine, **app_settings) @pytest.fixture |