diff options
Diffstat (limited to 'testing.ini')
-rw-r--r-- | testing.ini | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/testing.ini b/testing.ini index 6f85219..82fddfd 100644 --- a/testing.ini +++ b/testing.ini @@ -13,6 +13,11 @@ pyramid.debug_routematch = false pyramid.default_locale_name = en sqlalchemy.url = sqlite:///%(here)s/testing.sqlite +# 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 = @@ -37,7 +42,7 @@ setup = fietsboek.pshell.setup [alembic] # path to migration scripts -script_location = fietsboek/alembic +script_location = fietsboek:alembic file_template = %%(year)d%%(month).2d%%(day).2d_%%(rev)s # file_template = %%(rev)s_%%(slug)s |