Removing cache from testing config

This commit is contained in:
Denis-Cosmin Nutiu 2017-04-22 01:40:34 +03:00
parent 8b7698c9f4
commit 6caff90c0a

View file

@ -77,8 +77,7 @@ class ProductionConfig(Config):
class TestingConfig(Config): class TestingConfig(Config):
MAX_RESULTS_PER_PAGE = 1 MAX_RESULTS_PER_PAGE = 1
CACHE_TYPE = "filesystem" CACHE_TYPE = "null"
CACHE_DIR = "/tmp"
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'test_database.sqlite') SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'test_database.sqlite')
@staticmethod @staticmethod