From 9f887e59e02182383948835b9bb787c44a84f9f1 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 11 Apr 2018 22:54:51 -0700 Subject: fix sqlite in-memory tests --- tests/test_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_backend.py b/tests/test_backend.py index abf3cfff..de670a36 100644 --- a/tests/test_backend.py +++ b/tests/test_backend.py @@ -23,7 +23,7 @@ def check_entity_fields(e): class FatcatTestCase(unittest.TestCase): def setUp(self): - fatcat.app.config['DATABASE_URI'] = 'sqlite://:memory:' + fatcat.app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite://' fatcat.app.testing = True self.app = fatcat.app.test_client() fatcat.db.create_all() -- cgit v1.2.3