diff options
Diffstat (limited to 'testing.ini')
-rw-r--r-- | testing.ini | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testing.ini b/testing.ini index 4cb95ba..82fddfd 100644 --- a/testing.ini +++ b/testing.ini @@ -13,9 +13,11 @@ pyramid.debug_routematch = false pyramid.default_locale_name = en sqlalchemy.url = sqlite:///%(here)s/testing.sqlite -# In the pytest tests, this is overwritten with a temporary directory, but we -# should still set a value for the bootstrapping test. -fietsboek.data_dir = %(here)s/data +# The pytest tests usually overwrite this with a temporary directory. Since +# this is cleaned on test teardown, we don't want to accidentally delete data +# that should not be deleted. Therefore, we specifically do not set a directory +# here, and leave a placeholder to be replaced properly by the tests. +# %% fietsboek.data_dir %% redis.url = redis://localhost fietsboek.default_tile_layers = |