Skip to content

Commit 99cf835

Browse files
committed
Fix tests.
1 parent 1e8d929 commit 99cf835

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/unit/plugins/modules/test_proxmox_vm_info.py

-8
Original file line numberDiff line numberDiff line change
@@ -450,14 +450,6 @@ def tearDown(self):
450450
self.connect_mock.stop()
451451
super(TestProxmoxVmInfoModule, self).tearDown()
452452

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-
461453
def test_get_lxc_vms_information(self):
462454
with pytest.raises(AnsibleExitJson) as exc_info:
463455
set_module_args(get_module_args(type="lxc"))

0 commit comments

Comments
 (0)