示例#1
0
 def test_expireat(self):
     '''
     Test to set a keys expire at given UNIX time
     '''
     self.assertEqual(redismod.expireat('key', 'timestamp'), 'A')
示例#2
0
 def test_expireat(self):
     '''
     Test to set a keys expire at given UNIX time
     '''
     self.assertEqual(redismod.expireat('key', 'timestamp'), 'A')
 def test_expireat(self):
     """
     Test to set a keys expire at given UNIX time
     """
     self.assertEqual(redismod.expireat("key", "timestamp"), "A")