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