Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed error that could occur sometimes when checking validity of incomplete AccessToken/Grant #310

Closed
wants to merge 3 commits into from

Conversation

teuneboon
Copy link
Contributor

If AccessToken/Grant had, for whatever reason, no "expires" the is_expired check would fail with a TypeError(can't compare datetime.datetime to NoneType).

…eck would fail with a TypeError(can't compare datetime.datetime to NoneType)
@masci
Copy link
Contributor

masci commented Oct 19, 2015

Do you mind to add a test case for this?
Thanks!

@teuneboon
Copy link
Contributor Author

@masci Added it

@masci
Copy link
Contributor

masci commented Oct 19, 2015

👍 LGTM

@Psykopear Psykopear self-assigned this Dec 14, 2015
@Psykopear
Copy link
Contributor

LGTM, I'm merging it in master

@Psykopear Psykopear added this to the 0.10.0 milestone Dec 14, 2015
@Psykopear Psykopear closed this Dec 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants