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

pywbem / pywbemtools / 3220
90%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 29 Mar 2020 11:38AM 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
3220

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, and made sure it has a trailing comma.

* In test_connection_cmds.py, removed use of MOCK_CONFIRMY_FILE because
  the two test cases that specified it did not prompt at all (they probably
  did prompt at some point in the past).

* In test_connection_cmds.py, renamed variable MOCK_PROMPT0_FILE to
  MOCK_PROMPT_0_FILE, for consistency.

* Removed some double spaces in test case deacriptions.

* Removed double empty lines between test case items.

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 3220.3 (PACKAGE_LEVEL=latest) 29 Mar 2020 11:38AM UTC 0
89.68
Travis Job 3220.3
Source Files on build 3220
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3220
  • ffea6350 on github
  • Prev Build on andy/fix-test-assertion (#3200)
  • Next Build on andy/fix-test-assertion (#3237)
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