Exemplo n.º 1
0
def test_cache_set_does_nothing():
    app = get_app()
    cache = Cache(app)

    expect(cache.set("SOMETHING", 10)).to_be_null()
Exemplo n.º 2
0
def test_cache_get_return_none():
    app = get_app()
    cache = Cache(app)

    expect(cache.get("SOMETHING")).to_be_null()