ironic-python-agent/ironic_python_agent/tests/unit
Jay Faulkner c39517b044 Call evaluate_hardware_support exactly once per hwm
Fixes an issue where we could call evaluate_hardware_support multiple
times each run. Now, instead, we cache the values and use the cache
where needed.

Adds unit test coverage for get_managers and the new method.
Fixes issue where we were caching hardware managers between unit tests.

Also includes fixes for codespell CI:
- skip build files in repo
- fix spelling issues introduced to repo

Closes-bug: 2066308
Change-Id: Iebc5b6d2440bfc9f23daa322493379bbe69e84d0
2024-05-22 08:46:21 -07:00
..
extensions Call evaluate_hardware_support exactly once per hwm 2024-05-22 08:46:21 -07:00
hardware_managers Add mlnx deploy_step entry to enable deploy time firmware 2023-08-31 06:35:39 -07:00
samples add mixed matching of root device hints 2024-04-15 15:53:50 +03:00
__init__.py Add base for IPA functional tests 2015-08-18 16:19:47 +00:00
base.py Call evaluate_hardware_support exactly once per hwm 2024-05-22 08:46:21 -07:00
dmi_inspector_data.py Fix pep8 errors 2020-05-12 10:57:23 +02:00
test_agent.py Support several API and Inspector URLs 2024-01-09 16:43:23 +01:00
test_api.py Use Werkzeug modern version 2022-04-14 10:47:06 +00:00
test_base.py Stop requiring mocking of utils.execute if ironic-lib execute is mocked 2021-10-27 14:24:00 +02:00
test_burnin.py [codespell] Fix spelling issues in IPA 2023-12-28 10:54:46 -08:00
test_disk_partitioner.py Import disk_{utils,partitioner} from ironic-lib 2024-03-15 18:45:04 +01:00
test_disk_utils.py destroy_disk_metadata: support 4096 sector size 2024-04-24 20:37:44 +00:00
test_dmi_inspector.py Fix pep8 errors 2020-05-12 10:57:23 +02:00
test_efi_utils.py Step to clean UEFI NVRAM entries 2024-04-11 01:17:23 +12:00
test_encoding.py Fix serializing ironic-lib exceptions 2020-07-02 12:18:53 +02:00
test_errors.py Prevent tests' unmocked access to utils.execute() 2017-05-15 10:48:43 +10:00
test_hardware.py Call evaluate_hardware_support exactly once per hwm 2024-05-22 08:46:21 -07:00
test_inject_files.py Import disk_{utils,partitioner} from ironic-lib 2024-03-15 18:45:04 +01:00
test_inspector.py Merge "Make inspection URL optional if the collectors are provided" 2024-02-07 23:06:34 +00:00
test_ironic_api_client.py Support several API and Inspector URLs 2024-01-09 16:43:23 +01:00
test_multi_hardware_clean_steps.py Use unittest mock from standard library 2020-04-06 14:35:50 +02:00
test_multi_hardware.py Use unittest mock from standard library 2020-04-06 14:35:50 +02:00
test_netutils.py Use assert_not_called 2024-02-26 11:57:10 +01:00
test_numa_inspector.py Use unittest mock from standard library 2020-04-06 14:35:50 +02:00
test_partition_utils.py Import disk_{utils,partitioner} from ironic-lib 2024-03-15 18:45:04 +01:00
test_raid_utils.py Import disk_{utils,partitioner} from ironic-lib 2024-03-15 18:45:04 +01:00
test_tls_utils.py Trivial: avoid deprecated utcnow 2024-01-31 10:09:13 +01:00
test_utils.py Unmount config drives 2024-04-29 15:41:59 -07:00