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

pywbem / pywbem / 10803
92%

Build:
DEFAULT BRANCH: master
Ran 10 Nov 2019 01:34AM UTC
Jobs 1
Files 29
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
10803

push

travis-ci

andy-maier
Changed exceptions raised in ValueMapping

Details:

* Changed the type of exceptions that are raised by methods of
  `pywbem.ValueMapping` for cases where the value-mapped CIM element has
  issues, as follows:

  - From `TypeError` to `pywbem.ModelError`, if the value-mapped CIM element is
    not integer-typed.
  - From `ValueError` to `pywbem.ModelError, if an item of the `ValueMap`
    qualifier is not an integer.

  These cases are all invalid model definitions according to DSP0004, and
  do not happen in the CIM Schema published by DMTF.

  Raising `pywbem.ModelError` in these cases improves the ability for users to
  distinguish their own errors from model errors.

  This change is incompatible for users that handle these cases specifically
  in their code. Such users need to adjust the type of exception that is
  handled, accordingly. (See issue #1429)

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

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

9097 of 10589 relevant lines covered (85.91%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
5 10803.5 (PACKAGE_LEVEL=latest) 10 Nov 2019 01:34AM UTC 0
85.91
Travis Job 10803.5
Source Files on build 10803
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10803
  • 2b0bb143 on github
  • Prev Build on master (#10800)
  • Next Build on master (#10825)
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