95
95
>>> match = re.search('/(\d+)/', url)
96
96
>>> alias_id = match.group(1)
98
98
>>> transaction.abort() # To see db changes made by the librarian
99
99
>>> alias = LibraryFileAlias.get(alias_id)
100
100
>>> alias.expires > utc_now() + timedelta(days=89)