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

pywbem / pywbemtools / 3196
90%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 29 Mar 2020 08:30AM UTC
Jobs 1
Files 19
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
3196

push

travis-ci

andy-maier
Fixed invalid test validation; minor test cleanup

Details:

* The detection of invalid test validation values (i.e. 'test' setting in
  test case) in CLITestsBase.command_test() did not detect invalid values at
  all (its assert statement checked the assertion message). Fixed that, and
  added the test case description to the exception that is raised.

* The corrected detection in turn surfaced a number of invalid test
  validation values. Fixed all of them. In some cases, this required
  also fixing the expected results.

* In test_instance_cmd.py, removed two duplicate tests for 'instance count'.

* In test_instance_cmd.py, changed some tests for 'instance count' to test
  validation 'linesnows' instead of 'innows', which is a stronger test.

Minor test cleanup:

* In test_instance_cmd.py, moved the CMD_OPTION_HELP_HELP_LINE always to the
  end of the list of *_HELP_LINES.

* In mock_confirm_*.py, changed the prompt to be more consistent with what
  is shown in the actual case (i.e. changed 'MOCK_CLICK_CONFIRM(y)' to just
  'y' at end of line).

* In test_connection_cmds.py, renamed variable MOCK_CONFIRMY_FILE to
  MOCK_CONFIRM_Y_FILE for consistency.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>

2580 of 2877 relevant lines covered (89.68%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
3 3196.3 (PACKAGE_LEVEL=latest) 29 Mar 2020 08:30AM UTC 0
89.68
Travis Job 3196.3
Source Files on build 3196
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3196
  • e2db0cb9 on github
  • Next Build on andy/fix-test-assertion (#3198)
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