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

pywbem / pywbemtools / 3185 / 3
91%
master: 93%

Build:
Build:
LAST BUILD BRANCH: andy/use-published-click-repl
DEFAULT BRANCH: master
Ran 27 Mar 2020 03:57PM UTC
Files 19
Run time 36s
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

27 Mar 2020 03:46PM UTC coverage: 89.594%. First build
PACKAGE_LEVEL=latest

push

travis-ci

andy-maier
Improvements and bug fixes in processing the INSTANCENAME parameter

Details:

* Made the behavior on how the namespace is determined the same across
  the three different ways on how keys can be specified for the
  INSTANCENAME parameter. Now, the namespace is determined always as
  follows:
  * namespace specified in the INSTANCENAME parameter (WBEM URI).
  * --namespace option.
  * default namespace of context connection.

* Improved all error messages issued when processing the INSTANCENAME
  parameter (mostly in get_instancename()).

* Fixed a bug in create_ciminstancename() where the --key option
  'name=' or 'name' (that specifies a NULL value) caused an AttributeError
  when using startswith() on the None value.

* In get_instancename(), instead of understanding the syntax of a
  a class WBEM URI in that function (for the purpose of parsing
  the rest of the WBEM URI once the ".?" is removed), this is now done
  by using CIMClassName.from_wbem_uri(), recognizing that that rest
  of the WBEM URI is exactly a class URI.

* Improved the docstrings of create_ciminstance(), create_ciminstancename(),
  and get_instancename().

* Added testcases for INSTANCENAME processing, including --namespace and
  --key options.

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

2583 of 2883 relevant lines covered (89.59%)

0.9 hits per line

Source Files on job 3185.3 (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 295
  • Travis Job 3185.3
  • 68ed1758 on github
  • Next Job for PACKAGE_LEVEL=latest on andy/improve-url-errors (#3189.3)
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