mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-13 14:49:45 +08:00
Merge #64 Add unit tests for API routes
This commit is contained in:
@@ -57,6 +57,11 @@ class DevConfiguration(BaseConfiguration):
|
||||
#FAS_PASSWORD = os.environ('FAS_PASSWORD') # you could store it here
|
||||
#FAS_PASSWORD = commands.getoutput('pass your_fas_password').strip()
|
||||
|
||||
class TestConfiguration(BaseConfiguration):
|
||||
LOG_BACKEND = 'console'
|
||||
SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'
|
||||
DEBUG = True
|
||||
|
||||
|
||||
class ProdConfiguration(BaseConfiguration):
|
||||
FAS_USERNAME = 'TODO'
|
||||
|
||||
Reference in New Issue
Block a user