@pytest.mark.unit()
def test_prepand_append():
    client = MockMemcacheClient()
    client.set(b'k', '1')
    client.append(b'k', 'a')
    client.prepend(b'k', 'p')
    assert (client.get(b'k') == b'p1a')
@pytest.mark.unit()
def test_prepand_append():
    client = MockMemcacheClient()
    client.set(b'k', '1')
    client.append(b'k', 'a')
    client.prepend(b'k', 'p')
    assert (client.get(b'k') == b'p1a')