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

zhmcclient / python-zhmcclient / test-4094
80%

Build:
DEFAULT BRANCH: master
Ran 01 Nov 2025 10:14PM UTC
Jobs 42
Files 60
Run time 1min
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

01 Nov 2025 06:41AM UTC coverage: 79.729% (-0.002%) from 79.731%
test-4094

push

github

web-flow
Reduced number of HMC sessions in end2end tests (#2016)

The key change is to change the scope of the pytest fixtures in
zhmcclient.testutils from 'module' to 'session'. That causes the
hmc_session fixture (and thus the HMC session) to be created only
once during a pytest run.

All the other changes are follow-up requirements for that to work.

Details:

* Changed the scope of the pytest fixtures in the zhmcclient.testutils subtree
  from "module" to "session".

* The "session" scope of fixtures is only honored by pytest if the fixtures are
  globally known to pytest. Therefore, the definition of the fixtures has been
  changed as follows:

    - Fixtures available for zhmcclient users are now registered as a pytest
      plugin. This has been done for the entire zhmcclient.testutils
      subtree, because most of the non-fixture functionality in that subtree
      is used by the fixtures. All the public elements are still in place in
      the zhmcclient.testutils module and can be imported from there, so
      there is no change for users.

    - All other fixtures were moved into conftest.py files (which are
      special files recognized by pytest). These fixtures are available to
      the development environment of zhmcclient, but not to its users:

      - tests/unit/conftest.py: The http_mocked_*() fixtures that were
        previously in tests/common/http_mocked_fixtures.py. The zhmc_capture()
        fixture that was previously in tests/unit/zhmcclient/test_logging.py,
        and was named capture(), which seemed a bit too general. Since this
        is an internal fixture, the rename is no change for users.

      - tests/end2end/conftest.py: The zhmc_logger() fixture that was
        previously in tests/end2end/utils.py and was named logger(), which
        seemed a bit too general. Since this is an internal fixture, the
        rename is no change for users.

* In addition, the "session" scope of fixtures is only honored by pytest if the... (continued)

3 of 3 new or added lines in 1 file covered. (100.0%)

9247 of 11598 relevant lines covered (79.73%)

33.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest,3.9,latest - test-4094.1 01 Nov 2025 11:37PM UTC 60
79.59
GitHub Action Run
2 macos-latest,3.9,minimum - test-4094.2 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
3 ubuntu-latest,3.13,latest - test-4094.3 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
4 windows-latest,3.11,minimum - test-4094.4 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
5 ubuntu-latest,3.12,latest - test-4094.5 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
6 macos-latest,3.8,minimum - test-4094.6 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
7 ubuntu-latest,3.10,latest - test-4094.7 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
8 macos-latest,3.10,minimum - test-4094.8 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
9 macos-latest,3.13,latest - test-4094.9 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
10 ubuntu-latest,3.13,minimum - test-4094.10 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
11 macos-latest,3.11,latest - test-4094.11 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
12 macos-latest,3.14,latest - test-4094.12 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
13 macos-latest,3.11,minimum - test-4094.13 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
14 macos-latest,3.12,minimum - test-4094.14 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
15 ubuntu-22.04,3.8,minimum - test-4094.15 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
16 ubuntu-latest,3.11,minimum - test-4094.16 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
17 windows-latest,3.10,minimum - test-4094.17 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
18 ubuntu-latest,3.14,latest - test-4094.18 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
19 ubuntu-22.04,3.8,latest - test-4094.19 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
20 macos-latest,3.10,latest - test-4094.20 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
21 windows-latest,3.9,minimum - test-4094.21 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
22 macos-latest,3.14,minimum - test-4094.22 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
23 ubuntu-latest,3.14,minimum - test-4094.23 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
24 windows-latest,3.8,latest - test-4094.24 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
25 ubuntu-latest,3.11,latest - test-4094.25 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
26 ubuntu-latest,3.12,minimum - test-4094.26 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
27 macos-latest,3.12,latest - test-4094.27 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
28 ubuntu-latest,3.10,minimum - test-4094.28 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
29 ubuntu-latest,3.9,minimum - test-4094.29 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
30 macos-latest,3.13,minimum - test-4094.30 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
31 windows-latest,3.12,latest - test-4094.31 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
32 windows-latest,3.12,minimum - test-4094.32 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
33 windows-latest,3.13,minimum - test-4094.33 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
34 windows-latest,3.9,latest - test-4094.34 01 Nov 2025 11:37PM UTC 60
79.59
GitHub Action Run
35 windows-latest,3.10,latest - test-4094.35 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
36 windows-latest,3.13,latest - test-4094.36 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
37 macos-latest,3.9,latest - test-4094.37 01 Nov 2025 11:37PM UTC 60
79.59
GitHub Action Run
38 windows-latest,3.14,latest - test-4094.38 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
39 macos-latest,3.8,latest - test-4094.39 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
40 windows-latest,3.8,minimum - test-4094.40 01 Nov 2025 11:37PM UTC 60
79.54
GitHub Action Run
41 windows-latest,3.14,minimum - test-4094.41 01 Nov 2025 11:37PM UTC 60
79.65
GitHub Action Run
42 windows-latest,3.11,latest - test-4094.42 01 Nov 2025 11:37PM UTC 60
79.57
GitHub Action Run
Source Files on build test-4094
  • Tree
  • List 60
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e88be18d on github
  • Prev Build on master (#TEST-4091)
  • Next Build on master (#TEST-4097)
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