diff --git a/tests/unit/modules/test_vsphere.py b/tests/unit/modules/test_vsphere.py index 93196e4233..af5f241cdc 100644 --- a/tests/unit/modules/test_vsphere.py +++ b/tests/unit/modules/test_vsphere.py @@ -630,7 +630,7 @@ class _GetProxyConnectionDetailsTestCase(TestCase, LoaderModuleMockMixin): 'domain': 'fake_domain'} self.esxcluster_details = {'vcenter': 'fake_vcenter', 'datacenter': 'fake_dc', - 'cluster', 'fake_cluster', + 'cluster': 'fake_cluster', 'username': 'fake_username', 'password': 'fake_password', 'protocol': 'fake_protocol', @@ -639,8 +639,6 @@ class _GetProxyConnectionDetailsTestCase(TestCase, LoaderModuleMockMixin): 'principal': 'fake_principal', 'domain': 'fake_domain'} - - def tearDown(self): for attrname in ('esxi_host_details', 'esxi_vcenter_details', 'esxdatacenter_details', 'esxcluster_details'):