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

zhmcclient / python-zhmcclient / test-1842
80%

Build:
DEFAULT BRANCH: master
Ran 09 Oct 2023 11:56AM UTC
Jobs 11
Files 53
Run time 7s
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

09 Oct 2023 11:44AM UTC coverage: 81.223% (+0.1%) from 81.086%
test-1842

push

github

web-flow
Added example script for partition.pull_properties() (#1292)

* Added mocked unit test cases for resource property methods

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

* Consistency and cleanup in property-related methods of resource objects

Details:

* Incompaibility:
  The pull_full_properties(), pull_properties(), get_property() and props()
  methods on resource objects
  now raise zhmcclient.CeasedExistence in all cases where the resource no
  longer exists on the HMC. This provides a consistent behavior across different
  cases the method can encounter. Previously, that exception was raised only for
  resources that had auto-update enabled, and resources with auto-update
  disabled raised zhmcclient.HTTPError(404,1) instead when the resource no
  longer existed on the HMC.

* Incompaibility:
  The pull_properties() methods on resource objects now retrieves all properties
  from the HMC when one or more of the specified properties are not supported
  by the resource. This provides a consistent behavior across the different
  cases the method can encounter. Previously, that method behaved differently
  when the property was not supported by the resource: It has retrieved all
  properties when the resource type or HMC version does not support property
  filtering, but has raised HTTPError(400,14) in case the resource type and
  HMC version did support property filtering.

* The pull_properties() method on resource objects was extended so that its
  'properties' parameter can now also be a single string (in addition to the
  already supported list or tuple of strings).

* Added a get_properties_pulled() method for resource objects, which gets the
  current value of a set of properties from the HMC. If the resource has
  auto-update enabled, it gets the value from the (automatically updated) local
  cache. Otherwise, it retrieves the properties from the HMC in the fastest
  possible way, considering property ... (continued)

29 of 31 new or added lines in 3 files covered. (93.55%)

7704 of 9485 relevant lines covered (81.22%)

8.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 macos-latest,3.11,latest - test-1842.1 09 Oct 2023 12:08PM UTC 0
81.22
GitHub Action Run
2 macos-latest,3.5,latest - test-1842.2 09 Oct 2023 12:08PM UTC 0
80.22
GitHub Action Run
3 ubuntu-20.04,3.5,latest - test-1842.3 09 Oct 2023 12:08PM UTC 0
80.22
GitHub Action Run
4 ubuntu-20.04,3.6,minimum - test-1842.4 09 Oct 2023 12:08PM UTC 0
80.22
GitHub Action Run
5 windows-latest,3.11,latest - test-1842.5 09 Oct 2023 12:08PM UTC 0
81.22
GitHub Action Run
6 ubuntu-latest,3.7,latest - test-1842.6 09 Oct 2023 12:08PM UTC 0
80.22
GitHub Action Run
7 windows-latest,3.5,latest - test-1842.7 09 Oct 2023 12:08PM UTC 0
80.22
GitHub Action Run
8 ubuntu-20.04,3.5,minimum - test-1842.8 09 Oct 2023 12:08PM UTC 0
80.22
GitHub Action Run
9 ubuntu-latest,3.11,latest - test-1842.9 09 Oct 2023 12:08PM UTC 0
81.22
GitHub Action Run
10 ubuntu-latest,3.11,minimum - test-1842.10 09 Oct 2023 12:08PM UTC 0
81.22
GitHub Action Run
11 windows-latest,3.11,minimum - test-1842.11 09 Oct 2023 12:08PM UTC 0
81.22
GitHub Action Run
Source Files on build test-1842
Detailed source file information is not available for this build.
  • Back to Repo
  • fe9e4814 on github
  • Prev Build on master (#TEST-1836)
  • Next Build on master (#6493058897)
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