@pytest.fixture(scope='function')
def dbapi_database(raw_database):
    raw_database.run_in_transaction(clear_table)
    (yield raw_database)
    raw_database.run_in_transaction(clear_table)
@pytest.fixture(scope='function')
def dbapi_database(raw_database):
    raw_database.run_in_transaction(clear_table)
    (yield raw_database)
    raw_database.run_in_transaction(clear_table)