python-zhmcclient
python-zhmcclient copied to clipboard
Support "Get Inventory" operation in mock support
This will fix the following test failure when testing against the example mocked environment:
TESTINVENTORY=examples/example_hmc_inventory.yaml TESTVAULT=examples/example_hmc_vault.yaml make end2end
. . .
FAILED tests/end2end/test_cpc.py::test_cpc_export_dpm_config[hmc_definition=MOCKED_Z16_DPM] - zhmcclient._exceptions.HTTPError: 404,1: Unknown resource with URI: /api/services/inventory [POST /api/services/inventory]