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")