65538b0f7d
Use `time.time()` rather than `timezone.now()` for generating the unix timestamps. This avoids conversion between year-month-day-hh-mm-ss formatted timestamp vs. unix timestamp and is therefore simpler and more robust. Add a test case for this too and amend test_token_endpoint, since it used to mock timezone.now, but now it needs to mock time.time. |
||
---|---|---|
.. | ||
app | ||
templates/accounts | ||
__init__.py | ||
test_authorize_endpoint.py | ||
test_claims.py | ||
test_commands.py | ||
test_end_session_endpoint.py | ||
test_provider_info_endpoint.py | ||
test_token_endpoint.py | ||
test_userinfo_endpoint.py | ||
test_utils.py |