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

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

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

29 Mar 2020 04:32PM UTC coverage: 90.445% (+0.2%) from 90.215%
PACKAGE_LEVEL=latest

push

travis-ci

andy-maier
Added support for integer and boolean in VALUE of --key option

Details:

* Added support for integer and boolean values in the VALUE component of
  '--key KEY=VALUE'. VALUE strings that are decimal representations
  of integer numbers are treated as integer values; VALUE strings
  true and false are treated as boolean values. Anything else
  is treated as a string.

  The actual processing is done by transforming the --key option
  list into a list of keybinding strings for WBEM URI, and then
  appended to the INSTANCENAME which is a class WBEM URI.

  This allows to get rid of the GetClass operation in case --key
  is specified, and it also avoids repeating the parsing logic
  from the keybinding processing in CIMInstanceName.from_wbem_uri().

* Added testcases for INSTANCENAME and various values for VALUE
  in the --key option.

* Removed checks for instance_path returned from get_instancename()
  being None, because now all errors in that function are raised as
  ClickException, and it never returns None.

* Improved the description of parse_kv_pair().

* Renamed the module-internal _mof_escaped() function in _cimvalueformatter.py
  to mof_escaped() because it is now used in other modules.

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

2726 of 3014 relevant lines covered (90.44%)

0.9 hits per line

Source Files on job 3239.5 (PACKAGE_LEVEL=latest)
  • Tree
  • List 0
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 315
  • Travis Job 3239.5
  • e10da545 on github
  • Prev Job for PACKAGE_LEVEL=latest on andy/improve-url-errors (#3230.3)
  • Next Job for PACKAGE_LEVEL=latest on andy/improve-url-errors (#3245.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