Example #1
0
 def test_expire(self):
     '''
     Test to set a keys time to live in seconds
     '''
     self.assertEqual(redismod.expire('key', 'seconds'), 'A')
Example #2
0
 def test_expire(self):
     '''
     Test to set a keys time to live in seconds
     '''
     self.assertEqual(redismod.expire('key', 'seconds'), 'A')
 def test_expire(self):
     """
     Test to set a keys time to live in seconds
     """
     self.assertEqual(redismod.expire("key", "seconds"), "A")