• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lepture / flask-oauthlib / 421
84%

Build:
DEFAULT BRANCH: master
Ran 05 Oct 2016 03:42AM UTC
Jobs 2
Files 10
Run time 37min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
421

push

travis-ci

lepture
Improve handling of github authorization error (#279)

First, thanks for the library!

I don't see a way for the `authorized_response` method to ever return `None`. Regardless, it seems possible that the response could be something other than `None` like an `OAuthException` so checking for only `None` seem insufficient.

This change fixes the situation where `authorized_response` returns something other than `None` but there is no `access_token` in the response.  I've been seeing this fail on my app with a `KeyError` on line 51.  So, I'm currently losing the real error from github which could explain *why* the `access_token` is missing.

Am I missing something?

1145 of 1358 relevant lines covered (84.32%)

1.68 hits per line

Jobs
ID Job ID Ran Files Coverage
2 421.2 05 Oct 2016 03:42AM UTC 0
84.24
Travis Job 421.2
4 421.4 05 Oct 2016 04:20AM UTC 0
84.09
Travis Job 421.4
Source Files on build 421
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #421
  • 271d6057 on github
  • Prev Build on master (#417)
  • Next Build on master (#423)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc