def teardown_module(): fresh_metadata = get_metadata('fresh') fresh_metadata.drop_all() fresh_metadata.bind.dispose() metadata.drop_all() sqlalchemy_cleanup() if os.path.exists('freshtest.db'): os.unlink('freshtest.db') stop_server()
def drop_tables(): metadata.drop_all()