Use test database instead of in-memory database for all tests for consistency

This commit is contained in:
Matt Prahl
2016-12-08 14:58:38 -05:00
parent 7fcfe05f85
commit e9d0ec898b
4 changed files with 4 additions and 19 deletions

View File

@@ -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'