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