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:
Bojan Vitnik 2019-03-27 05:27:08 +01:00 committed by Abhijeet Kasurde
parent 5ccad0a3c5
commit 54d23a8297
3 changed files with 7 additions and 7 deletions

View file

@ -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()))