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

ktdreyer / errata-tool-ansible / 622
75%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2020 10:11PM UTC
Jobs 1
Files 8
Run time 2s
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
622

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

Jobs
ID Job ID Ran Files Coverage
3 622.3 01 Oct 2020 10:11PM UTC 0
75.37
Travis Job 622.3
Source Files on build 622
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #622
  • fe8929c6 on github
  • Prev Build on master (#608)
  • Next Build on master (#628)
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