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

ktdreyer / errata-tool-ansible / 622 / 3
75%
master: 75%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2020 10:11PM UTC
Files 8
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

01 Oct 2020 10:09PM UTC coverage: 75.373%. Remained the same
622.3

push

travis-ci-com

mergify[bot]
cdn_repo: report entire JSON response on edit errors

Sometimes this API endpoint returns an "errors" key instead of
an "error" key. This leads to KeyErrors. (For example, I hit this when I
tried to add a second variant to a CDN repo that already had a variant
from that same Product Version).

Since we don't have a robust error-handling method, in order to keep
this code simple, just raise the entire JSON response, since it's
usually pretty small.

The exact error strings are different on py2 (with u'') vs py3. Update
the assertions in the unit tests to simply check for the important
substrings.

Add a new unit test to verify that we report "errors".

707 of 938 relevant lines covered (75.37%)

0.75 hits per line

Source Files on job 622.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 521
  • Travis Job 622.3
  • fe8929c6 on github
  • Prev Job for on master (#608.3)
  • Next Job for on master (#628.3)
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