Beispiel #1
0
 def test_lrange(self):
     '''
     Test to get a range of values from a list in Redis
     '''
     self.assertEqual(redismod.lrange('key', 'start', 'stop'), 'A')
Beispiel #2
0
 def test_lrange(self):
     '''
     Test to get a range of values from a list in Redis
     '''
     self.assertEqual(redismod.lrange('key', 'start', 'stop'), 'A')
 def test_lrange(self):
     """
     Test to get a range of values from a list in Redis
     """
     self.assertEqual(redismod.lrange("key", "start", "stop"), "A")