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

pywbem / pywbemtools / 3238
90%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 29 Mar 2020 04:52PM UTC
Jobs 1
Files 19
Run time 3s
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
3238

Pull #552

travis-ci

web-flow
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>
Pull Request #552: Fixes #553: Fixed invalid test validation; minor test cleanup

2660 of 2958 relevant lines covered (89.93%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
5 3238.5 (PACKAGE_LEVEL=latest) 29 Mar 2020 04:52PM UTC 0
89.93
Travis Job 3238.5
Source Files on build 3238
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3238
  • Pull Request #552
  • PR Base - master (#3236)
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