示例#1
0
 def test_zrange(self):
     '''
     Test to get a range of values from a sorted set in Redis by index
     '''
     self.assertEqual(redismod.zrange('key', 'start', 'stop'), 'A')
示例#2
0
 def test_zrange(self):
     '''
     Test to get a range of values from a sorted set in Redis by index
     '''
     self.assertEqual(redismod.zrange('key', 'start', 'stop'), 'A')
 def test_zrange(self):
     """
     Test to get a range of values from a sorted set in Redis by index
     """
     self.assertEqual(redismod.zrange("key", "start", "stop"), "A")