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

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

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 03 Apr 2020 10:32PM 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

03 Apr 2020 09:49PM UTC coverage: 90.545% (+0.5%) from 90.033%
PACKAGE_LEVEL=latest

Pull #551

travis-ci

web-flow
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>
Pull Request #551: Fixes #528,464: Improvements and bug fixes in processing the INSTANCENAME parameter

2758 of 3046 relevant lines covered (90.54%)

0.91 hits per line

Source Files on job 3320.5 (PACKAGE_LEVEL=latest)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 373
  • Travis Job 3320.5
  • cf242813 on github
  • Prev Job for PACKAGE_LEVEL=latest on andy/improve-url-errors (#3318.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