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"
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'