def test_groups(gce_resource, gce_host, group): _, _, groups = gce_host(gce_resource, 'module_name') assert group in groups
def test_name(gce_resource, gce_host): name, _, _ = gce_host(gce_resource, '') assert name == 'mi-control-01'
def test_attrs(gce_resource, gce_host, attr, should): _, attrs, _ = gce_host(gce_resource, 'module_name') assert attr in attrs assert attrs[attr] == should
def test_groups(gce_resource, gce_host, group): _, _, groups = gce_host(gce_resource) assert group in groups