Initial Commit
This commit is contained in:
38
config/test.py
Normal file
38
config/test.py
Normal file
@@ -0,0 +1,38 @@
|
||||
"""Sigl Test Configuration.
|
||||
|
||||
Simple Grocery List (Sigl) | sigl.app
|
||||
Copyright (c) 2022 Asymworks, LLC. All Rights Reserved.
|
||||
"""
|
||||
|
||||
# Default Jade Tree Test Configuration
|
||||
SERVER_NAME = 'test.sigl.local'
|
||||
|
||||
# Session and Token Keys
|
||||
APP_SESSION_KEY = 'sigl-test-session-key'
|
||||
APP_TOKEN_KEY = 'sigl-test-token-key'
|
||||
|
||||
APP_TOKEN_ISSUER = 'urn:sigl.test'
|
||||
APP_TOKEN_AUDIENCE = 'urn:sigl.test'
|
||||
APP_TOKEN_VALIDITY = 7200
|
||||
|
||||
# Development Database Settings (overridden by PyTest app_config Fixture)
|
||||
DB_DRIVER = 'sqlite'
|
||||
DB_FILE = 'sigl-test.db'
|
||||
|
||||
# Mail Configuration
|
||||
MAIL_ENABLED = True
|
||||
MAIL_SERVER = 'localhost'
|
||||
MAIL_SENDER = 'test@localhost'
|
||||
MAIL_SUPPRESS_SEND = True
|
||||
|
||||
# Frontend Configuration
|
||||
FRONTEND_HOST = 'http://localhost'
|
||||
FRONTEND_LOGIN_PATH = '/login'
|
||||
FRONTEND_LOGO_PATH = '/logo.png'
|
||||
FRONTEND_REG_CONFIRM_PATH = '/register/confirm'
|
||||
FRONTEND_REG_CANCEL_PATH = '/register/cancel'
|
||||
FRONTEND_REG_RESEND_PATH = '/register/resend'
|
||||
|
||||
# Email Site Information
|
||||
SITE_ABUSE_MAILBOX = 'abuse@localhost'
|
||||
SITE_HELP_MAILBOX = 'help@localhost'
|
||||
Reference in New Issue
Block a user