def test_groups(ucs_resource, ucs_host, group): _, _, groups = ucs_host(ucs_resource, 'root') assert group in groups
def test_attrs(ucs_resource, ucs_host, attr, should): _, attrs, _ = ucs_host(ucs_resource, 'root') assert attr in attrs assert attrs[attr] == should
def test_name(ucs_resource, ucs_host): name, _, _ = ucs_host(ucs_resource, '') assert name == 'control-0.mydomain.com'