django-oidc-provider/oidc_provider/tests
Tuomas Suutari 65538b0f7d utils.token: Use time.time to generate the timestamps
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.
2016-12-07 14:22:20 +02:00
..
app Fix tests for end session endpoint. 2016-11-01 16:01:03 -03:00
templates/accounts Clean templates in tests. 2015-06-23 15:05:47 -03:00
__init__.py Change name of the package. 2015-02-18 15:07:22 -03:00
test_authorize_endpoint.py Refactoring create_id_token function. 2016-09-09 13:10:12 -03:00
test_claims.py Fix translations handling 2016-11-24 13:09:19 +01:00
test_commands.py Add new test for migrations. 2016-08-11 16:43:30 -03:00
test_end_session_endpoint.py Fix tests for end session endpoint. 2016-11-01 16:01:03 -03:00
test_provider_info_endpoint.py Fix urls and names. 2016-11-01 12:15:48 -03:00
test_token_endpoint.py utils.token: Use time.time to generate the timestamps 2016-12-07 14:22:20 +02:00
test_userinfo_endpoint.py Refactoring create_id_token function. 2016-09-09 13:10:12 -03:00
test_utils.py utils.token: Use time.time to generate the timestamps 2016-12-07 14:22:20 +02:00