mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-28 03:49:09 -07:00
XenServer: Minor changes to error messages (#54434)
Changed "." for "!" in some error messages to make error messages uniform across the code.
This commit is contained in:
parent
5ccad0a3c5
commit
54d23a8297
3 changed files with 7 additions and 7 deletions
|
@ -90,7 +90,7 @@ def test_wait_for_vm_ip_address_bad_power_state(mocker, fake_ansible_module, Xen
|
|||
with pytest.raises(FailJsonException) as exc_info:
|
||||
xenserver.wait_for_vm_ip_address(fake_ansible_module, fake_xenapi_ref('VM'))
|
||||
|
||||
assert exc_info.value.kwargs['msg'] == ("Cannot wait for VM IP address when VM is in state '%s'." %
|
||||
assert exc_info.value.kwargs['msg'] == ("Cannot wait for VM IP address when VM is in state '%s'!" %
|
||||
xenserver.xapi_to_module_vm_power_state(bad_power_state.lower()))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue