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, 'module_name') assert group in groups
def test_name(openstack_resource, openstack_host): name, _, _ = openstack_host(openstack_resource, '') assert name == 'mi-control-01'
def test_groups(openstack_resource, openstack_host, group): _, _, groups = openstack_host(openstack_resource) assert group in groups