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

ktdreyer / errata-tool-ansible / 453
75%

Build:
DEFAULT BRANCH: master
Ran 11 Sep 2020 05:37PM 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
453

push

travis-ci-com

mergify[bot]
release: fix state_machine_rule_set parameter

Prior to this change, if a user set a value for state_machine_rule_set
for an errata_tool_release, we crashed with an error because the
WorkflowRules class does not exist. This came from a very old version of
the code, and I never tested this code path again after I wrote
WorkflowRulesScraper. The correct class to use now is
WorkflowRulesScraper.

Use the WorkflowRulesScraper class to scrape the state_machine_rule_set
ID number, just like we do in the errata_tool_product module.

The old code called upper() on the state_machine_rule_set string. Remove
this line, because this parameter is actually case-sensitive.
(WorkflowRulesScraper uses the exact rule names.)

Remove the incorrect choices from the inline documentation and add the
correct choices.

Add a unit test that exercises this new code.

652 of 941 relevant lines covered (69.29%)

0.69 hits per line

Jobs
ID Job ID Ran Files Coverage
3 453.3 11 Sep 2020 05:37PM UTC 0
69.29
Travis Job 453.3
Source Files on build 453
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #453
  • 6b44a419 on github
  • Prev Build on master (#450)
  • Next Build on master (#458)
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