Example #1
0
 def test_exists(self):
     '''
     Test to return true if the key exists in redis
     '''
     self.assertEqual(redismod.exists('key'), 'A')
Example #2
0
 def test_exists(self):
     '''
     Test to return true if the key exists in redis
     '''
     self.assertEqual(redismod.exists('key'), 'A')
 def test_exists(self):
     """
     Test to return true if the key exists in redis
     """
     self.assertEqual(redismod.exists("key"), "A")