@pytest.mark.unit()
def test_delete():
    client = MockMemcacheClient()
    client.add(b'k', 2)
    assert (client.get(b'k') == 2)
    client.delete(b'k')
    assert (client.get(b'k') is None)
@pytest.mark.unit()
def test_delete():
    client = MockMemcacheClient()
    client.add(b'k', 2)
    assert (client.get(b'k') == 2)
    client.delete(b'k')
    assert (client.get(b'k') is None)