diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-04-12 17:57:10 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-04-12 17:57:10 -0700 |
commit | f67b161ba4993a24b735ae15c470efeb7ae6ff3f (patch) | |
tree | e90cfd12f31758d37912119ca23645f20c544309 /tests | |
parent | 9156b2f4ff73df43ed63b12ac135dbb0e22d3663 (diff) | |
download | fatcat-f67b161ba4993a24b735ae15c470efeb7ae6ff3f.tar.gz fatcat-f67b161ba4993a24b735ae15c470efeb7ae6ff3f.zip |
much better test isolation
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_backend.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_backend.py b/tests/test_backend.py index de670a36..fdb29c47 100644 --- a/tests/test_backend.py +++ b/tests/test_backend.py @@ -26,6 +26,8 @@ class FatcatTestCase(unittest.TestCase): fatcat.app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite://' fatcat.app.testing = True self.app = fatcat.app.test_client() + fatcat.db.session.remove() + fatcat.db.drop_all() fatcat.db.create_all() def test_health(self): |