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

zhmcclient / python-zhmcclient / test-1604
80%

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2023 07:32AM UTC
Jobs 11
Files 53
Run time 2s
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
test-1604

push

github

andy-maier
Added support for auto-updated resource managers

Details:

* Added support for auto-updated resource managers. An auto-updated resource
  manager has its list of resources automatically updated as resources are
  created and deleted on the HMC, based on HMC notifications. (issue #1055)

  Added an example script examples/show_auto_updated_partition_manager.py
  to demonstrate an auto-updating enabled partition manager.

  Renamed the existing example script show_auto_update.py to
  show_auto_updated_partition.py, for clarity, and improved it by
  controlling the logging by a global flag.

* Renamed the Session.resource_updater property to auto_updater and the
  zhmcclient.ResourceUpdater class to AutoUpdater to take into account that
  the class and property now represent auto-updated manager objects in addition
  to auto-updated resource objects. Note that the property and class are
  still experimental in this version.

* Docs: In the description of the list() methods of the resource manager
  classes, described the optimized lookup behavior for auto-updated managers
  and optimized access via the name-to-URI cache.

* Added optimized lookup by name in list() methods of the following resource
  classes: `LdapServerDefinition`, `PasswordRule`, `Task`, `User`,
  `UserPattern`, `UserRole`,

Internal Details:

* Reworked the unit testcases for AutoUpdater to be more explicit
  in the testcase specification, and to add support for specifying
  inventory change notifications. Added testcases.

* Renamed the end2end testcase module test_resource_auto_update.py
  to test_auto_update.py and added a test function test_autoupdate_list()
  which tests the behavior of list() with and without auto-update.

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

554 of 714 new or added lines in 29 files covered. (77.59%)

7526 of 9470 relevant lines covered (79.47%)

8.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.71
zhmcclient/_hba.py
1
95.38
zhmcclient/_nic.py
1
89.23
zhmcclient/_virtual_function.py
2
61.78
zhmcclient/_cpc.py
2
69.93
zhmcclient/_session.py
3
86.36
zhmcclient/_activation_profile.py
3
75.32
zhmcclient/_adapter.py
3
95.95
zhmcclient/_capacity_group.py
3
93.65
zhmcclient/_ldap_server_definition.py
3
93.65
zhmcclient/_password_rule.py
3
87.69
zhmcclient/_port.py
3
67.65
zhmcclient/_storage_group.py
3
90.7
zhmcclient/_task.py
3
94.37
zhmcclient/_user.py
3
88.73
zhmcclient/_user_pattern.py
3
89.36
zhmcclient/_user_role.py
4
90.0
zhmcclient/_unmanaged_cpc.py
4
91.67
zhmcclient/_virtual_switch.py
5
43.33
zhmcclient/_storage_volume.py
6
78.55
zhmcclient/_lpar.py
8
95.24
zhmcclient/_manager.py
20
30.14
zhmcclient/_storage_volume_template.py
20
32.05
zhmcclient/_virtual_storage_resource.py
21
31.03
zhmcclient/_storage_group_template.py
32
82.02
zhmcclient/_auto_updater.py
Jobs
ID Job ID Ran Files Coverage
1 windows-latest,3.11,latest - test-1604.1 14 Jul 2023 07:40AM UTC 53
79.47
GitHub Action Run
2 ubuntu-20.04,3.6,minimum - test-1604.2 14 Jul 2023 07:40AM UTC 53
78.4
GitHub Action Run
3 ubuntu-20.04,3.5,latest - test-1604.3 14 Jul 2023 07:40AM UTC 53
78.4
GitHub Action Run
4 ubuntu-latest,3.7,latest - test-1604.4 14 Jul 2023 07:40AM UTC 53
78.4
GitHub Action Run
5 ubuntu-20.04,3.5,minimum - test-1604.5 14 Jul 2023 07:40AM UTC 53
78.4
GitHub Action Run
6 ubuntu-latest,3.11,latest - test-1604.6 14 Jul 2023 07:40AM UTC 53
79.47
GitHub Action Run
7 ubuntu-latest,3.11,minimum - test-1604.7 14 Jul 2023 07:40AM UTC 53
79.47
GitHub Action Run
8 windows-latest,3.11,minimum - test-1604.8 14 Jul 2023 07:40AM UTC 53
79.47
GitHub Action Run
9 macos-latest,3.11,latest - test-1604.9 14 Jul 2023 07:40AM UTC 53
79.47
GitHub Action Run
10 macos-latest,3.5,latest - test-1604.10 14 Jul 2023 07:40AM UTC 53
78.4
GitHub Action Run
11 windows-latest,3.5,latest - test-1604.11 14 Jul 2023 07:40AM UTC 53
78.4
GitHub Action Run
Source Files on build test-1604
  • Tree
  • List 53
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 31cc4e1f on github
  • Prev Build on master (#5551598681)
  • Next Build on master (#TEST-1606)
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