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

pywbem / pywbem / 11501
92%

Build:
DEFAULT BRANCH: master
Ran 30 Dec 2019 05:48PM UTC
Jobs 1
Files 30
Run time 4s
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
11501

push

travis-ci

andy-maier
Partial support for DTD 2.4 req to set TYPE on KEYVALUE

Details:

* DSP0201/203 version 2.4 introduced the requirement that the TYPE
  attribute of the KEYVALUE element must be set.

  The KEYVALUE element is used in both directions, for example when
  the CreateInstance operation returns an instance name from the WBEM
  server, or when the DeleteInstance operation sends an instance name
  to the WBEM server.

  In operation requests sent to the WBEM server, pywbem previously did
  not set the TYPE attribute of the KEYVALUE element at all. This change
  sets the TYPE attribute for key properties of CIM types 'string' and
  'boolean' but not for numeric CIM types. Reason being that the CIM type
  can be derived from the value only for those types.

  Missing the requirement for numeric key types is not expected to cause
  problems because WBEM servers that implement DSP0201 version 2.4 very
  likely will tolerate clients that conform to earlier versions and do not
  set the TYPE attribute. DSP0201 2.4 is unfortunately silent about whether
  a CIM-XML receiver must tolerate an absent TYPE attribute.

  In operation responses received from the WBEM server, pywbem already
  tolerated an absent TYPE attribute in KEYVALUE elements, but used it
  when present. There was no change needed (other than adding comments
  to explain this).

* Adjusted testcases to accomodate the TYPE attribute that is now
  set where it was not set before.

* Added the non-conformance of not setting the TYPE attribute for numeric
  types as a limitation to the standards conformance section of the docs.

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

8 of 8 new or added lines in 1 file covered. (100.0%)

8844 of 10175 relevant lines covered (86.92%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
3 11501.3 (PACKAGE_LEVEL=latest) 30 Dec 2019 05:48PM UTC 0
86.92
Travis Job 11501.3
Source Files on build 11501
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11501
  • b93ab7ad on github
  • Prev Build on master (#11489)
  • Next Build on master (#11506)
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