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

zhmcclient / python-zhmcclient / test-3238
80%

Build:
DEFAULT BRANCH: master
Ran 22 Jan 2025 03:57PM UTC
Jobs 11
Files 57
Run time 2min
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

22 Jan 2025 03:51PM UTC coverage: 81.355% (-1.3%) from 82.651%
test-3238

push

github

andy-maier
Support for Partition Links

Details:

* Added support for Partition Links with a new 'zhmcclient.PartitionLink'
  resource class (and corresponding manager class). Added the following
  methods for partition links to the 'zhmcclient.Partition' class:
  'attach_network_link()', 'detach_network_link()',
  'attach_ctc_link()', 'detach_ctc_link()', 'list_attached_partition_links()'.

* Because the "Create Partition Link" HMC operation does not return the
  'object-uri' property of the created partition link, the handling of HTTP POST
  operations has been enhanced to add the URI returned in the "Location" header
  field as an artificial property 'location-uri' to the result data, if the
  "Location" header field is set and the result data does not contain
  'object-uri' or 'element-uri'.

* Added the following example scripts:

    examples/list_attached_partition_links.py
    examples/list_partition_links.py

* Added end2end testcases for 'zhmcclient.PartitionLink' and for the new
  methods addded to 'zhmcclient.Partition'.

* Added the following functions to the end2end utils.py:

    assert_properties(act_obj, exp_obj)
    skipif_no_partition_link_feature(cpc)
    pformat_as_dict(dict_)
    copy_dict(dict_)
    copy_list(list_)

* In the end2end utils.py function standard_partition_props(), improved
  the performance by retrieving the necessary CPC properties no longer
  by pulling all properties, but by pulling them selectively.

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

51 of 234 new or added lines in 7 files covered. (21.79%)

8897 of 10936 relevant lines covered (81.36%)

8.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
80.24
-0.49% zhmcclient/_console.py
4
68.71
-0.13% zhmcclient/_session.py
12
94.88
-3.14% zhmcclient/_exceptions.py
80
25.93
zhmcclient/_partition_link.py
84
53.58
-18.28% zhmcclient/_partition.py
Jobs
ID Job ID Ran Files Coverage
1 macos-latest,3.11,latest - test-3238.1 22 Jan 2025 04:03PM UTC 57
81.31
GitHub Action Run
2 macos-latest,3.13.0,minimum - test-3238.2 22 Jan 2025 04:03PM UTC 57
81.31
GitHub Action Run
3 macos-latest,3.8,latest - test-3238.3 22 Jan 2025 04:03PM UTC 57
81.3
GitHub Action Run
4 ubuntu-latest,3.13.0,minimum - test-3238.4 22 Jan 2025 04:03PM UTC 57
81.31
GitHub Action Run
5 windows-latest,3.8,minimum - test-3238.5 22 Jan 2025 04:03PM UTC 57
81.3
GitHub Action Run
6 ubuntu-latest,3.13.0,latest - test-3238.6 22 Jan 2025 04:03PM UTC 57
81.31
GitHub Action Run
7 windows-latest,3.13.0,latest - test-3238.7 22 Jan 2025 04:03PM UTC 57
81.31
GitHub Action Run
8 ubuntu-latest,3.12,latest - test-3238.8 22 Jan 2025 04:03PM UTC 57
81.31
GitHub Action Run
9 ubuntu-22.04,3.8,minimum - test-3238.9 22 Jan 2025 04:03PM UTC 57
81.3
GitHub Action Run
10 windows-latest,3.8,latest - test-3238.10 22 Jan 2025 04:03PM UTC 57
81.3
GitHub Action Run
11 ubuntu-latest,3.9,latest - test-3238.11 22 Jan 2025 04:03PM UTC 57
81.32
GitHub Action Run
Source Files on build test-3238
  • Tree
  • List 57
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e2496a60 on github
  • Prev Build on master (#TEST-3237)
  • Next Build on master (#TEST-3240)
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

© 2025 Coveralls, Inc