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