mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Commit config for tests
This commit is contained in:
parent
b16cf7a719
commit
ad2f5b32d1
1 changed files with 15 additions and 0 deletions
15
data/tests.toml
Normal file
15
data/tests.toml
Normal 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"
|
Loading…
Reference in a new issue