Beispiel #1
0
 def test_zcard(self):
     '''
     Test to get the length of a sorted set in Redis
     '''
     self.assertEqual(redismod.zcard('key'), 'A')
Beispiel #2
0
 def test_zcard(self):
     '''
     Test to get the length of a sorted set in Redis
     '''
     self.assertEqual(redismod.zcard('key'), 'A')
 def test_zcard(self):
     """
     Test to get the length of a sorted set in Redis
     """
     self.assertEqual(redismod.zcard("key"), "A")