diff options
author | Jonathan Huot <jonathan.huot@thomsonreuters.com> | 2018-08-06 19:01:53 +0200 |
---|---|---|
committer | Jonathan Huot <jonathan.huot@thomsonreuters.com> | 2018-08-06 19:01:53 +0200 |
commit | 38467a8a001fdbb5ae5661acfcea4e806b82b2b5 (patch) | |
tree | 8de931ea1a5c0931c59e41ae7fbea4c3dc63fbf8 /tests | |
parent | fbacd77b602e4c60f8da2413c150fa7f20b2f83c (diff) | |
download | oauthlib-38467a8a001fdbb5ae5661acfcea4e806b82b2b5.tar.gz |
Implicit was not converting expires_in into integers
Diffstat (limited to 'tests')
-rw-r--r-- | tests/oauth2/rfc6749/clients/test_mobile_application.py | 2 | ||||
-rw-r--r-- | tests/oauth2/rfc6749/test_parameters.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/oauth2/rfc6749/clients/test_mobile_application.py b/tests/oauth2/rfc6749/clients/test_mobile_application.py index 51e4dab..622b275 100644 --- a/tests/oauth2/rfc6749/clients/test_mobile_application.py +++ b/tests/oauth2/rfc6749/clients/test_mobile_application.py @@ -40,7 +40,7 @@ class MobileApplicationClientTest(TestCase): token = { "access_token": "2YotnFZFEjr1zCsicMWpAA", "token_type": "example", - "expires_in": "3600", + "expires_in": 3600, "expires_at": 4600, "scope": scope, "example_parameter": "example_value" diff --git a/tests/oauth2/rfc6749/test_parameters.py b/tests/oauth2/rfc6749/test_parameters.py index 6ba98c0..b211d1e 100644 --- a/tests/oauth2/rfc6749/test_parameters.py +++ b/tests/oauth2/rfc6749/test_parameters.py @@ -86,7 +86,7 @@ class ParameterTests(TestCase): 'access_token': '2YotnFZFEjr1zCsicMWpAA', 'state': state, 'token_type': 'example', - 'expires_in': '3600', + 'expires_in': 3600, 'expires_at': 4600, 'scope': ['abc'] } |