We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e8d929 commit 99cf835Copy full SHA for 99cf835
tests/unit/plugins/modules/test_proxmox_vm_info.py
@@ -450,14 +450,6 @@ def tearDown(self):
450
self.connect_mock.stop()
451
super(TestProxmoxVmInfoModule, self).tearDown()
452
453
- def test_module_fail_when_required_args_missing(self):
454
- with pytest.raises(AnsibleFailJson) as exc_info:
455
- set_module_args({})
456
- self.module.main()
457
-
458
- result = exc_info.value.args[0]
459
- assert result["msg"] == "missing required arguments: api_host, api_user"
460
461
def test_get_lxc_vms_information(self):
462
with pytest.raises(AnsibleExitJson) as exc_info:
463
set_module_args(get_module_args(type="lxc"))
0 commit comments