aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_backend.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_backend.py')
-rw-r--r--tests/test_backend.py2
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):