1
0
Fork 0
mirror of https://github.com/Findus23/acronomy.git synced 2024-09-18 14:33:43 +02:00

add secrets for tests

This commit is contained in:
Lukas Winkler 2021-01-25 21:44:58 +01:00
parent 1f8e53eaa8
commit c162eba316
Signed by: lukas
GPG key ID: 54DE4D798D244853
2 changed files with 15 additions and 0 deletions

View file

@ -7,6 +7,7 @@ cache:
before_script:
- python -V # Print out python version for debugging
- cp acronomy/secrets.test.py acronomy/secrets.py
- pip install poetry
- poetry install

14
acronomy/secrets.test.py Normal file
View file

@ -0,0 +1,14 @@
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'just-a-testkey'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
Production = False
ADS_AUTH_TOKEN = None
DATABASES = {
'ENGINE': 'django.db.backends.sqlite3',
}
MATOMO_API_KEY = None