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