Exemple #1
0
def test_no_cache_set_does_nothing():
    app = get_app()
    cache = NoCache(app)

    expect(cache.set("SOMETHING", 10)).to_be_null()
Exemple #2
0
def test_no_cache_get_return_none():
    app = get_app()
    cache = NoCache(app)

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