def teardown(self): """ Run once after every test. Drop the test database. """ with self.app.test_request_context(): db.session.remove() db.drop_all()
def tearDown(self): """ Run once after every test. Drop the test database. """ db.session.remove() db.drop_all()