

def testPutGet(self):
    get_num = (lambda : random.randint(10000, 20000))
    num1 = get_num()
    self.assertEqual(self.node.put(str(num1)), str(num1))
    num2 = get_num()
    self.assertEqual(num2.node.put(str(num2)), str(num2))
    self.assertEqual(self.node.get(), str(num1))
    self.assertEqual(self.node.get(), str(num2))

dataset/ETHPy150Open chineking/cola/tests/test_mq_store.py Test.testPutGet/VarMisuse@63/78 `self`->`num2`