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

pywbem / pywbemtools / 3185
91%
master: 93%

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

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

Jobs
ID Job ID Ran Files Coverage
3 3185.3 (PACKAGE_LEVEL=latest) 27 Mar 2020 03:57PM UTC 0
89.59
Travis Job 3185.3
Source Files on build 3185
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3185
  • 68ed1758 on github
  • Next Build on andy/improve-url-errors (#3189)
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