diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-04-11 22:54:51 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-04-11 22:54:51 -0700 |
commit | 9f887e59e02182383948835b9bb787c44a84f9f1 (patch) | |
tree | ed6d82dd7341c8f2f1a9a5077c7c1dfc1f618df2 | |
parent | 2eb4e18024d6a7dc4b39e5c1f499a1475acc0e4c (diff) | |
download | fatcat-9f887e59e02182383948835b9bb787c44a84f9f1.tar.gz fatcat-9f887e59e02182383948835b9bb787c44a84f9f1.zip |
fix sqlite in-memory tests
-rw-r--r-- | tests/test_backend.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |