zhmcclient / python-zhmcclient

A pure Python client library for the IBM Z HMC Web Services API
Apache License 2.0
39 stars 26 forks source link

Other errors in end2end_mocked tests #1548

Closed andy-maier closed 4 months ago

andy-maier commented 4 months ago

Fix the errors in the "make end2end_mocked" test run which meanwhile uses more elaborated mock files for z14 and z16, other than those described in issues #1247, #1248 and #1541.

These are (from the pytest error summary):

FAILED tests/end2end/test_activation_profile.py::test_actprof_property[hmc_definition=mocked_hmc_z14-reset] - AssertionError: resource=ActivationProfile at 0x10ac769f0 (
FAILED tests/end2end/test_activation_profile.py::test_actprof_property[hmc_definition=mocked_hmc_z14-image] - AssertionError: resource=ActivationProfile at 0x10ac76db0 (
FAILED tests/end2end/test_activation_profile.py::test_actprof_property[hmc_definition=mocked_hmc_z14-load] - AssertionError: resource=ActivationProfile at 0x10ac75100 (
FAILED tests/end2end/test_console.py::test_console_property[hmc_definition=mocked_hmc_z14] - AssertionError: resource=Console at 0x10ae2fb60 (
FAILED tests/end2end/test_lpar.py::test_console_list_permitted_lpars[hmc_definition=mocked_hmc_z14-Full properties-input_kwargs6-exp_prop_names6] - AssertionError: Property 'has-operating-system-messages' missing from returned LPAR properties, got: {'parent': '/api/cpcs/cpc_cla', 'class': 'logical-partition', 'object-id': 'lpar1', 'object-uri': '/api/logical-parti...
FAILED tests/end2end/test_lpar.py::test_console_list_permitted_lpars[hmc_definition=mocked_hmc_z16-Full properties-input_kwargs6-exp_prop_names6] - AssertionError: Property 'has-operating-system-messages' missing from returned LPAR properties, got: {'parent': '/api/cpcs/cpc_cla', 'class': 'logical-partition', 'object-id': 'lpar1', 'object-uri': '/api/logical-parti...
FAILED tests/end2end/test_partition.py::test_part_property[hmc_definition=mocked_hmc_z14] - AssertionError: resource=Partition at 0x10af3ac90 (
FAILED tests/end2end/test_storage_group.py::test_stogrp_crud[hmc_definition=mocked_hmc_z14] - AssertionError: Unexpected value for property 'shared' of storage group:
FAILED tests/end2end/test_storage_group.py::test_stogrp_crud[hmc_definition=mocked_hmc_z16] - AssertionError: Unexpected value for property 'shared' of storage group: