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

requests / requests-oauthlib / 239
90%

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

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

30 of 30 new or added lines in 4 files covered. (100.0%)

430 of 488 relevant lines covered (88.11%)

3.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 239.1 17 Jun 2018 11:14PM UTC 0
86.68
Travis Job 239.1
2 239.2 17 Jun 2018 11:14PM UTC 0
87.91
Travis Job 239.2
3 239.3 17 Jun 2018 11:15PM UTC 0
87.91
Travis Job 239.3
4 239.4 17 Jun 2018 11:14PM UTC 0
87.91
Travis Job 239.4
Source Files on build 239
  • Tree
  • List 0
  • Changed 6
  • Source Changed 3
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #239
  • Pull Request #317
  • PR Base - master (#236)
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

© 2025 Coveralls, Inc