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

pywbem / pywbemtools / 3527 / 5
91%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 18 Jun 2020 04:52AM UTC
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

18 Jun 2020 04:38AM UTC coverage: 90.674%. Remained the same
PACKAGE_LEVEL=latest

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
  CIMInstanceName.to_wbem_uri() method of pywbem has been changed
  in pywbem 1.0.0b1 to return sorted keys with format 'standard'.
  The _scalar_value_tomof() function has been changed to invoke
  to_wbem_uri() with format 'standard', just to be more explicit.
  The one testcase in test_print_insts_as_table() that has a reference
  with multiple keys is skipped when using earlier versions of pywbem.

* Click has an issue on Windows when using click.echo() together with
  the pytest capsys fixture. See Click issue
  https://github.com/pallets/click/issues/1590.
  The testcases in test_print_insts_as_table() are skipped when
  running on Windows.

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

2878 of 3174 relevant lines covered (90.67%)

0.91 hits per line

Source Files on job 3527.5 (PACKAGE_LEVEL=latest)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 523
  • Travis Job 3527.5
  • d4f5eda3 on github
  • Prev Job for PACKAGE_LEVEL=latest on andy/fix-capsys (#3525.5)
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