示例#1
0
 def test_set_key(self):
     '''
     Test to set redis key value
     '''
     self.assertEqual(redismod.set_key('key', 'value'), 'A')
示例#2
0
 def test_set_key(self):
     '''
     Test to set redis key value
     '''
     self.assertEqual(redismod.set_key('key', 'value'), 'A')
 def test_set_key(self):
     """
     Test to set redis key value
     """
     self.assertEqual(redismod.set_key("key", "value"), "A")