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

pywbem / pywbemtools / 2459
91%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 01 Oct 2019 05:40PM UTC
Jobs 1
Files 16
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
2459

push

travis-ci

KSchopmeyer
Extend coverage by adding tests for areas that are currently shown to
not have any coverage in coverage_report

Adds tests to increase coverage in

1. pywbemcli.py - Adds tests to catch a number of the documented
exceptions in pywbemcli.

2. Add tests for password prompt

3. Added tests for other exceptions I noted were not tested with the
coverage report.

NOTE: All this and I picked up about 1%. Note that in the last few weeks
we went from 200+ tests to over 400 and only picked up about 10%. The
next few percent are going to be difficult since each little piece of
code is generally a whole test

Code changes.

I made two code changes here because they are very small
and because they had a direct impact on the tests I was adding:

1. Found an error that only affects our tests where we want to compile
some mock script during startup.  We were using the cli argument
mock_server internally and should have been using the variable
resolved_mock_server so that the startup compiled script was shown as a
file that gets added to the mock_server. Now these files are compiled
during startup and not included as part of the mock_server.

2. We had left one place in the code where a script compile exception
did not cause an abort (pywbemcli.py, line 414.  I changed that.

3. pywbemcli line 435 testing choices for use_pull.  We did not need to
do this test because the option handler does it for us. That was dead code so
I just removed it.

1952 of 2147 relevant lines covered (90.92%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
3 2459.3 (PACKAGE_LEVEL=latest) 01 Oct 2019 05:40PM UTC 0
90.92
Travis Job 2459.3
Source Files on build 2459
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2459
  • 90cd4fe6 on github
  • Prev Build on ks/extend-coverage (#2433)
  • Next Build on ks/extend-coverage (#2461)
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