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

pywbem / pywbemtools / 3239
91%
master: 93%

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

pending completion
3239

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

Jobs
ID Job ID Ran Files Coverage
5 3239.5 (PACKAGE_LEVEL=latest) 29 Mar 2020 05:00PM UTC 0
90.44
Travis Job 3239.5
Source Files on build 3239
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3239
  • e10da545 on github
  • Prev Build on andy/improve-url-errors (#3230)
  • Next Build on andy/improve-url-errors (#3245)
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