Ejemplo n.º 1
0
def test_attrs(vsphere_resource, vsphere_host, attr, should):
    _, attrs, _ = vsphere_host(vsphere_resource, 'module_name')
    assert attr in attrs
    assert attrs[attr] == should
Ejemplo n.º 2
0
def test_attrs(vsphere_resource, vsphere_host, attr, should):
    _, attrs, _ = vsphere_host(vsphere_resource, 'module_name')
    assert attr in attrs
    assert attrs[attr] == should
Ejemplo n.º 3
0
def test_name(vsphere_resource, vsphere_host):
    name, _, _ = vsphere_host(vsphere_resource, '')
    assert name == "mi-control-01"
Ejemplo n.º 4
0
def test_name(vsphere_resource, vsphere_host):
    name, _, _ = vsphere_host(vsphere_resource, '')
    assert name == "mi-control-01"