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

lepture / flask-oauthlib / 421 / 2
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 05 Oct 2016 03:42AM UTC
Files 10
Run time 0s
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

05 Oct 2016 03:22AM UTC coverage: 84.242%. Remained the same
421.2

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?

1144 of 1358 relevant lines covered (84.24%)

0.84 hits per line

Source Files on job 421.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 421
  • Travis Job 421.2
  • 271d6057 on github
  • Prev Job for on master (#417.2)
  • Next Job for on master (#423.2)
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