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