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

zhmcclient / python-zhmcclient / test-2320
80%

Build:
DEFAULT BRANCH: master
Ran 12 Mar 2024 07:40AM UTC
Jobs 13
Files 53
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

12 Mar 2024 07:35AM UTC coverage: 80.611% (-0.001%) from 80.612%
test-2320

push

github

andy-maier
Mock: Added partial support for session IDs

Note: Removal of session IDs in the mocked Logoff operation and validation
      of session IDs in any mocked operations that require to be logged on
      has not been implemented in this change. That would require passing
      the HTTP header fields to the mock support, which is not the case today
      and would require larger changes.

      However, since addition/removal/validation of session IDs is implemented
      for the FakedHmc class, this should be sufficient to provide the session
      ID support required for zhmcclient/zhmccli#413.

Details:

* Added support for dynamically creating a session ID in the
  mocked Logon operation (i.e. _urihandler.SessionsHandler).

* The new session ID is stored in the zhmcclient_mock.FakedHmc
  object in new support for adding, removing and validating
  session IDs.

* Added unit test cases for the session ID support in the
  zhmcclient_mock.FakedHmc class.

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

15 of 15 new or added lines in 2 files covered. (100.0%)

4 existing lines in 2 files now uncovered.

7891 of 9789 relevant lines covered (80.61%)

10.18 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
80.24
0.02% zhmcclient_mock/_urihandler.py
3
93.97
-1.51% zhmcclient/_resource.py
Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest,3.12,latest - test-2320.1 12 Mar 2024 07:51AM UTC 53
80.61
GitHub Action Run
2 ubuntu-latest,3.8,latest - test-2320.2 12 Mar 2024 07:51AM UTC 53
80.59
GitHub Action Run
3 ubuntu-latest,3.7,minimum - test-2320.3 12 Mar 2024 07:51AM UTC 53
79.58
GitHub Action Run
4 macos-latest,3.12,minimum - test-2320.4 12 Mar 2024 07:51AM UTC 53
80.61
GitHub Action Run
5 ubuntu-20.04,3.5,minimum - test-2320.5 12 Mar 2024 07:51AM UTC 53
79.58
GitHub Action Run
6 ubuntu-latest,3.12,minimum - test-2320.6 12 Mar 2024 07:51AM UTC 53
80.61
GitHub Action Run
7 ubuntu-20.04,3.6,minimum - test-2320.7 12 Mar 2024 07:51AM UTC 53
79.58
GitHub Action Run
8 windows-latest,3.12,latest - test-2320.8 12 Mar 2024 07:51AM UTC 53
80.61
GitHub Action Run
9 ubuntu-20.04,3.5,latest - test-2320.9 12 Mar 2024 07:51AM UTC 53
79.58
GitHub Action Run
10 macos-latest,3.5,latest - test-2320.10 12 Mar 2024 07:51AM UTC 53
79.58
GitHub Action Run
11 macos-latest,3.12,latest - test-2320.11 12 Mar 2024 07:51AM UTC 53
80.61
GitHub Action Run
12 windows-latest,3.5,latest - test-2320.12 12 Mar 2024 07:51AM UTC 53
79.58
GitHub Action Run
13 windows-latest,3.12,minimum - test-2320.13 12 Mar 2024 07:51AM UTC 53
80.61
GitHub Action Run
Source Files on build test-2320
  • Tree
  • List 53
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cb290323 on github
  • Prev Build on master (#TEST-2318)
  • Next Build on master (#TEST-2323)
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