assertion Module

Classes

AssertionCreator
AutoRefresher

Cache the output of a factory, and auto-refresh it when necessary. Usage:

r = AutoRefresher(time.time, expires_in=5) for i in range(15):

print(r()) # the timestamp change only after every 5 seconds time.sleep(1)

JwtAssertionCreator