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

requests / requests-oauthlib / 239 / 2
90%
master: 90%

Build:
DEFAULT BRANCH: master
Ran 17 Jun 2018 11:14PM UTC
Files 15
Run time 1s
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

17 Jun 2018 11:13PM UTC coverage: 87.91% (+1.4%) from 86.555%
239.2

Pull #317

travis-ci

web-flow
Throw an exception on a bad http return

If the token request fails with an error such as Unauthenticated or
anything else the existing code doesn't check for this code and will try
and retrieve the token anyway. This gives a somewhat difficult to debug
key error when the response doesn't contain the token data.

This is wrong, we should always be checking the response code before
trusting the response data.

This is a slight change in behaviour, we now return this exception
instead of a KeyError, however the other exception was difficult to
catch.

This reuses the failure exception from OAuth1 and makes that public.

Closes: #302
Pull Request #317: New compliance hook and error handling

429 of 488 relevant lines covered (87.91%)

0.88 hits per line

Source Files on job 239.2
  • Tree
  • List 0
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 237
  • Travis Job 239.2
  • 7e6a0b38 on github
  • Prev Job for on master (#236.1)
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