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

pywbem / pywbemtools / 3319
91%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 03 Apr 2020 10:24PM UTC
Jobs 1
Files 19
Run time 3s
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
3319

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>

2758 of 3046 relevant lines covered (90.54%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
5 3319.5 (PACKAGE_LEVEL=latest) 03 Apr 2020 10:24PM UTC 0
90.54
Travis Job 3319.5
Source Files on build 3319
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3319
  • b5bd4c86 on github
  • Prev Build on andy/improve-url-errors (#3297)
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