def test_attrs(vsphere_resource, vsphere_host, attr, should): _, attrs, _ = vsphere_host(vsphere_resource, 'module_name') assert attr in attrs assert attrs[attr] == should
def test_name(vsphere_resource, vsphere_host): name, _, _ = vsphere_host(vsphere_resource, '') assert name == "mi-control-01"