

@pytest.yield_fixture
def rethinkdbjobstore():
    rethinkdb = pytest.importorskip('apscheduler.jobstores.rethinkdb')
    store = rethinkdb.RethinkDBJobStore(database='apscheduler_unittest')
    store.start(None, 'rethinkdb')
    (yield store)
    rethinkdb.r.db_drop('apscheduler_unittest').run(store.conn)
    rethinkdb.shutdown()

dataset/ETHPy150Open agronholm/apscheduler/tests/test_jobstores.py rethinkdbjobstore/VarMisuse@64/123 `store`->`rethinkdb`