mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-24 10:43:16 +08:00
Use test database instead of in-memory database for all tests for consistency
This commit is contained in:
@@ -130,7 +130,8 @@ class DevConfiguration(BaseConfiguration):
|
||||
class TestConfiguration(BaseConfiguration):
|
||||
LOG_BACKEND = 'console'
|
||||
LOG_LEVEL = 'debug'
|
||||
SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'
|
||||
SQLALCHEMY_DATABASE_URI = 'sqlite:///{0}'.format(
|
||||
path.join(dbdir, 'tests', 'test_module_build_service.db'))
|
||||
DEBUG = True
|
||||
MESSAGING = 'in_memory'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user