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

pywbem / pywbem / test-1695 / 4
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 12 Jun 2023 04:36PM UTC
Files 46
Run time 5s
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

12 Jun 2023 04:03PM UTC coverage: 92.024%. First build
test-1695.4

push

github

andy-maier
Improved handling of missing/extra Values items in ValueMapping

Details:

* The 'pywbem.ValueMapping' class now allows controlling what should happen
  when the 'Values' qualifier has missing or extra items compared to the
  'ValueMap' qualifier, by means of a new 'values_default' parameter of
  the respective factory methods. If 'values_default' is None (default), a
  'pywbem.ModelError' is raised for missing or extra 'Values' items. If it
  specifies a string value, missing items in the 'Values' qualifier are
  filled up with that value, and extra items in the 'Values' qualifier are
  truncated. (issue #2991)

* This causes the following incompatibility: The 'pywbem.ValueMapping' class
  will now raise a 'pywbem.ModelError' for any
  missing or extra items in the 'Values' qualifier, compared to the 'ValueMap'
  qualifier. Previously, 'KeyError' was raised. (issue #2991)

* Added testcases for differently sizzed ValueMap/Values qualifiers.

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

11157 of 12124 relevant lines covered (92.02%)

1.84 hits per line

Source Files on job ubuntu-20.04,3.6,minimum - test-1695.4
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • 881efc5b on github
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