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

zhmcclient / python-zhmcclient / test-1604
79%

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

Jobs
ID Job ID Ran Files Coverage
1 windows-latest,3.11,latest - test-1604.1 14 Jul 2023 07:40AM UTC 0
79.47
GitHub Action Run
2 ubuntu-20.04,3.6,minimum - test-1604.2 14 Jul 2023 07:40AM UTC 0
78.4
GitHub Action Run
3 ubuntu-20.04,3.5,latest - test-1604.3 14 Jul 2023 07:40AM UTC 0
78.4
GitHub Action Run
4 ubuntu-latest,3.7,latest - test-1604.4 14 Jul 2023 07:40AM UTC 0
78.4
GitHub Action Run
5 ubuntu-20.04,3.5,minimum - test-1604.5 14 Jul 2023 07:40AM UTC 0
78.4
GitHub Action Run
6 ubuntu-latest,3.11,latest - test-1604.6 14 Jul 2023 07:40AM UTC 0
79.47
GitHub Action Run
7 ubuntu-latest,3.11,minimum - test-1604.7 14 Jul 2023 07:40AM UTC 0
79.47
GitHub Action Run
8 windows-latest,3.11,minimum - test-1604.8 14 Jul 2023 07:40AM UTC 0
79.47
GitHub Action Run
9 macos-latest,3.11,latest - test-1604.9 14 Jul 2023 07:40AM UTC 0
79.47
GitHub Action Run
10 macos-latest,3.5,latest - test-1604.10 14 Jul 2023 07:40AM UTC 0
78.4
GitHub Action Run
11 windows-latest,3.5,latest - test-1604.11 14 Jul 2023 07:40AM UTC 0
78.4
GitHub Action Run
Source Files on build test-1604
Detailed source file information is not available for this build.
  • 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