def flush_before_each_test_case():
    smache._set_globals()
    DummyA.set_data({'1': {'value': 'hello'}, '2': {'value': 'hihi'}})
    DummyB.set_data({'1': {'value': 'world'}})
    redis_con.flushall()
    yield
def flush_before_each_test_case():
    smache._set_globals()
    DummyA.set_data({'1': {'value': 'hello'}, '2': {'value': 'hihi'}})
    DummyB.set_data({'1': {'value': 'world'}})
    redis_con.flushall()
    yield
Beispiel #3
0
def flush_before_each_test_case():
    redis_con.flushall()
    yield
Beispiel #4
0
def flush_before_each_test_case():
    redis_con.flushall()
    yield
Beispiel #5
0
def flush_before_each_test_case():
    redis_con.flushall()
    DummyA.set_data({'1': {'value': 10}, '2': {'value': 500}})
    DummyB.set_data({'2': {'value': 20}})
    DummyC.set_data({'20': {'value': -1}, '30': {'value': -2}})
    yield