Exemplo n.º 1
0
def test_attrs(openstack_resource, openstack_host, attr, should):
    _, attrs, _ = openstack_host(openstack_resource, 'module_name')
    assert attr in attrs
    assert attrs[attr] == should
Exemplo n.º 2
0
def test_groups(openstack_resource, openstack_host, group):
    _, _, groups = openstack_host(openstack_resource, 'module_name')
    assert group in groups
Exemplo n.º 3
0
def test_name(openstack_resource, openstack_host):
    name, _, _ = openstack_host(openstack_resource, '')
    assert name == 'mi-control-01'
Exemplo n.º 4
0
def test_name(openstack_resource, openstack_host):
    name, _, _ = openstack_host(openstack_resource, '')
    assert name == 'mi-control-01'
Exemplo n.º 5
0
def test_groups(openstack_resource, openstack_host, group):
    _, _, groups = openstack_host(openstack_resource, 'module_name')
    assert group in groups
Exemplo n.º 6
0
def test_attrs(openstack_resource, openstack_host, attr, should):
    _, attrs, _ = openstack_host(openstack_resource, 'module_name')
    assert attr in attrs
    assert attrs[attr] == should
def test_groups(openstack_resource, openstack_host, group):
    _, _, groups = openstack_host(openstack_resource)
    assert group in groups