def tearDown(self): common.shared_teardown() # TODO: figure out why this is necessary here, but unnecessary in all # of the tests in `tests/test_unit_*.py`. Without this, the session # continues to return values even if the underlying database is deleted # (as in `shared_teardown`). db_session.remove()
def tearDown(self): common.shared_teardown()