Exemple #1
0
 def test_hget(self):
     '''
     Test to get specific field value from a redis hash, returns dict
     '''
     self.assertEqual(redismod.hget('key', 'field'), 'A')
Exemple #2
0
 def test_hget(self):
     '''
     Test to get specific field value from a redis hash, returns dict
     '''
     self.assertEqual(redismod.hget('key', 'field'), 'A')
 def test_hget(self):
     """
     Test to get specific field value from a redis hash, returns dict
     """
     self.assertEqual(redismod.hget("key", "field"), "A")