Beispiel #1
0
 def test_hgetall(self):
     '''
     Test to get all fields and values from a redis hash, returns dict
     '''
     self.assertEqual(redismod.hgetall('key'), 'A')
Beispiel #2
0
 def test_hgetall(self):
     '''
     Test to get all fields and values from a redis hash, returns dict
     '''
     self.assertEqual(redismod.hgetall('key'), 'A')
 def test_hgetall(self):
     """
     Test to get all fields and values from a redis hash, returns dict
     """
     self.assertEqual(redismod.hgetall("key"), "A")