def test_insert_read(node, keyprefix="key", count=50): insert_keys(node, keyprefix=keyprefix, count=count) read_keys(node, keyprefix=keyprefix, count=count)
def test_insert_read_and_delete(node, keyprefix="key", count=50): insert_keys(node, keyprefix=keyprefix, count=count) read_keys(node, keyprefix=keyprefix, count=count) delete_keys(node, count, keyprefix)
import telnetlib from lib import insert_keys node11211 = telnetlib.Telnet("localhost", 11211) insert_keys(node11211, keyprefix="TEST", count=10000)