Commit config for tests

main
Thomas Sileo 2022-06-22 20:55:19 +02:00
parent b16cf7a719
commit ad2f5b32d1
1 changed files with 15 additions and 0 deletions

15
data/tests.toml 100644
View File

@ -0,0 +1,15 @@
domain = "localhost:8000"
username = "test"
# toto
admin_password = "$2b$12$OwCyZM33uXQUVrChgER.h.qgFJ4fBp6tdFwArR3Lm1LV8NgMvIxVa"
name = "test"
summary = "<p>Hello</p>"
https = false
icon_url = "https://localhost:8000/static/nopic.png"
secret = "1dd4079e0474d1a519052b8fe3cb5fa6"
debug = true
# In-mem DB
sqlalchemy_database_url = "sqlite:///file:pytest?mode=memory&cache=shared&uri=true"
key_path = "tests/test.key"
media_db_path = "tests/media.db"