Esempio 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
Esempio 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
Esempio n. 3
0
def test_name(vsphere_resource, vsphere_host):
    name, _, _ = vsphere_host(vsphere_resource, '')
    assert name == "mi-control-01"
Esempio n. 4
0
def test_name(vsphere_resource, vsphere_host):
    name, _, _ = vsphere_host(vsphere_resource, '')
    assert name == "mi-control-01"