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

zhmcclient / python-zhmcclient / test-2214 / 2
81%
master: 80%

Build:
Build:
LAST BUILD BRANCH: andy/fix-feature-enabled
DEFAULT BRANCH: master
Ran 24 Jan 2024 07:39AM UTC
Files 53
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

24 Jan 2024 07:16AM UTC coverage: 80.438% (-0.1%) from 80.586%
test-2214.2

push

github

andy-maier
Fixed additional_properties in list_permitted_lpars() and mock support

Details:

* Fixed that 'Console.list_permitted_lpars()' ignored the
  'additional_properties' parameter. (issue #1410)

* Test: Fixed that unit tests did not properly check missing properties in
  the returned resources. (related to issue #1410)

  This was done in order to fix the test that did not detect that the
  'Console.list_permitted_lpars()' ignored the 'additional_properties'
  parameter. That test affected a number of list methods.

* Fixed that 'list()' methods returned only a minimal set of properties
  for each resource when the resource was found in the name-to-URI cache,
  and in that case missed some properties that are documented for the
  corresponding HMC list operation. This was fixed by removing the optimization
  of using the name-to-URI cache in 'list()' methods. (related to issue #1410)

  Updated the documentaion of several methods accordingly.

  This needed to be done because the fixed unit test now revealed that
  properties were missing.

* In the zhmcclient mock support, fixed the processing of the
  'additional-properties' query parameters for the mock support of the following
  zhmcclient list methods: 'Console.list_permitted_lpars()',
  'Cpc.adapters.list()', 'Cpc.partitions.list()', 'Cpc.virtual_switches.list()',
  'Cpc.image_activation_profiles.list()'. (related to issue #1410)

  This needed to be done because the fixed unit test now revealed that
  the additional-properties query parameter was processed incorrectly.

Signed-off-by: Andreas Maier <maiera@de.ibm.com>

7821 of 9723 relevant lines covered (80.44%)

0.8 hits per line

Source Files on job macos-latest,3.12,minimum - test-2214.2
  • Tree
  • List 53
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • a63dfeca on github
  • Prev Job for on stable_1.13 (#test-2208.13)
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