@pytest.mark.unit()
def test_incr_decr():
    client = MockMemcacheClient()
    client.add(b'k', 2)
    client.incr(b'k', 4)
    assert (client.get(b'k') == 6)
    client.decr(b'k', 2)
    assert (client.get(b'k') == 4)
@pytest.mark.unit()
def test_incr_decr():
    client = MockMemcacheClient()
    client.add(b'k', 2)
    client.incr(b'k', 4)
    assert (client.get(b'k') == 6)
    client.decr(b'k', 2)
    assert (client.get(b'k') == 4)