Fix handling of secret key: We now generate it on app startup if it doesn't exist in the config (which it doesn't anymore in the base config.py).
This commit is contained in:
parent
1bf25f25c1
commit
40d2b1748f
6 changed files with 11 additions and 5 deletions
|
@ -15,6 +15,7 @@ class FakeTransaction(object):
|
|||
|
||||
class TestConfig(DefaultConfig):
|
||||
TESTING = True
|
||||
SECRET_KEY = 'a36c9d7d-25a9-4d3f-a586-3d2f8dc40a83'
|
||||
|
||||
DB_URI = os.environ.get('TEST_DATABASE_URI', 'sqlite:///:memory:')
|
||||
DB_CONNECTION_ARGS = {
|
||||
|
|
Reference in a new issue