diff options
author | Daniel Schadt <kingdread@gmx.de> | 2024-05-04 17:29:55 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2024-05-04 17:29:55 +0200 |
commit | ea655c63ed950a4a60f8bf65b54a73516abd6aba (patch) | |
tree | 6f107833d0784590bc78066fa5c9863c91055e44 /testing.ini | |
parent | c9cde87237eec537198c5d53347c81da7191d5c6 (diff) | |
parent | c0b49a618d96f2088234dbb4c0ca8006475d432e (diff) | |
download | fietsboek-ea655c63ed950a4a60f8bf65b54a73516abd6aba.tar.gz fietsboek-ea655c63ed950a4a60f8bf65b54a73516abd6aba.tar.bz2 fietsboek-ea655c63ed950a4a60f8bf65b54a73516abd6aba.zip |
Merge branch 'migration-bootstrap-test'
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 |