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

pywbem / pywbemtools / 3511
91%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 15 Jun 2020 11:57PM UTC
Jobs 1
Files 19
Run time 5s
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
3511

push

travis-ci

andy-maier
Added output checking in test_print_insts_as_table()

Details:

* test_print_insts_as_table() was using the simplified_test_function
  decorator which does not allow additional fixture arguments such
  as capsys for capturing stdout. As a result, thi testcase did
  not check the output of the tested print function.
  Attempts were made to extend the simplified_test_function decorator
  in order to support additional arguments, but they were all
  uncuccessful.
  This change removes the use of the simplified_test_function decorator
  from  test_print_insts_as_table() and passes the parametrization
  directly, so the capsys fixture could be added.
  Checking of the output was added, and the expected output in the
  testcases needed to be adjusted.

* In order to have reliable order of keys in references, the
  _scalar_value_tomof() function has been changed to invoke
  to_wbem_uri() with the new format 'sorted' introduced in pywbem 1.0.0.
  If that format is not supported, pywbem >=0.13,<1.0 raises ValueError,
  and in that case, format 'standard' is used.
  Pywbem <0.13 ignores format 'sorted' and returns the standard format.

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

2881 of 3177 relevant lines covered (90.68%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
5 3511.5 (PACKAGE_LEVEL=latest) 15 Jun 2020 11:57PM UTC 0
90.68
Travis Job 3511.5
Source Files on build 3511
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3511
  • 3b82026b on github
  • Prev Build on andy/fix-capsys (#3507)
  • Next Build on andy/fix-capsys (#3513)
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