Пример #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
Пример #2
0
def test_groups(openstack_resource, openstack_host, group):
    _, _, groups = openstack_host(openstack_resource, 'module_name')
    assert group in groups
Пример #3
0
def test_name(openstack_resource, openstack_host):
    name, _, _ = openstack_host(openstack_resource, '')
    assert name == 'mi-control-01'
Пример #4
0
def test_name(openstack_resource, openstack_host):
    name, _, _ = openstack_host(openstack_resource, '')
    assert name == 'mi-control-01'
Пример #5
0
def test_groups(openstack_resource, openstack_host, group):
    _, _, groups = openstack_host(openstack_resource, 'module_name')
    assert group in groups
Пример #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