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

pywbem / pywbemtools / 2463
91%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 01 Oct 2019 09:13PM 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
2463

push

travis-ci

andy-maier
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.

1951 of 2146 relevant lines covered (90.91%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
3 2463.3 (PACKAGE_LEVEL=latest) 01 Oct 2019 09:13PM UTC 0
90.91
Travis Job 2463.3
Source Files on build 2463
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2463
  • 4157a40a on github
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