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