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

berkmancenter / mediacloud / 4521
59%
master: 70%

Build:
Build:
LAST BUILD BRANCH: release
DEFAULT BRANCH: master
Ran 14 Dec 2017 08:35PM UTC
Jobs 2
Files 209
Run time 15min
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
4521

push

travis-ci

pypt
On "requests" exceptions, set response's body to the exception message

As per LWP::UserAgent's (from which we inherit our UserAgent class
design) philosophy, if the parameters are right, UserAgent should never
raise and instead always return a valid Response object. To see whether
the request has failed, one is expected to call is_success() method.

On "requests" failures (when "requests" crashes being unable to parse
something), we create a Response object for with the exception message
in its body.

Before, this was being done incorrectly. In this commit, we set the body
correctly (in a way that can later be read by response.raw.stream()) and
also test whether the exception message got returned in HTTP body.

6710 of 14507 relevant lines covered (46.25%)

563.39 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4521.3 (MC_TEST_CHUNK=3) 14 Dec 2017 08:35PM UTC 0
32.68
Travis Job 4521.3
4 4521.4 (MC_TEST_CHUNK=4) 14 Dec 2017 08:49PM UTC 0
40.59
Travis Job 4521.4
Source Files on build 4521
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4521
  • 52b161d8 on github
  • Next Build on fix_ua_error_http_body (#4529)
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