summaryrefslogtreecommitdiff
path: root/ironic_python_agent/tests/unit
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-08-11 10:02:24 +0000
committerGerrit Code Review <review@openstack.org>2021-08-11 10:02:24 +0000
commit71f54b7f9864b0cb51e59b3a157df986302b6073 (patch)
treedfcd920b93ad81ead50c6da279e9b3b9c291473d /ironic_python_agent/tests/unit
parent91f0248164bf1f9fa072021e0b657ec55510127a (diff)
parentefbbc86f53f8b6dc21a847088c3914e13a439017 (diff)
downloadironic-python-agent-71f54b7f9864b0cb51e59b3a157df986302b6073.tar.gz
Merge "Increase version of hacking and pycodestyle"
Diffstat (limited to 'ironic_python_agent/tests/unit')
-rw-r--r--ironic_python_agent/tests/unit/hardware_managers/test_cna.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ironic_python_agent/tests/unit/hardware_managers/test_cna.py b/ironic_python_agent/tests/unit/hardware_managers/test_cna.py
index b38d6d20..29c456a7 100644
--- a/ironic_python_agent/tests/unit/hardware_managers/test_cna.py
+++ b/ironic_python_agent/tests/unit/hardware_managers/test_cna.py
@@ -112,8 +112,8 @@ class TestIntelCnaHardwareManager(base.IronicAgentTest):
cna._disable_embedded_lldp_agent_in_cna_card()
expected_log_message = ('Failed to disable the embedded LLDP on '
'Intel CNA network card. Addresses of '
- 'failed pci devices: {}'
- .format(str(listdir_dict).strip('[]')))
+ 'failed pci devices: %s',
+ str(listdir_dict).strip('[]'))
mock_log.warning.assert_called_once_with(expected_log_message)
@mock.patch.object(cna, 'LOG', autospec=True)