Exemple #1
0
def test_groups(gce_resource, gce_host, group):
    _, _, groups = gce_host(gce_resource, 'module_name')
    assert group in groups
Exemple #2
0
def test_name(gce_resource, gce_host):
    name, _, _ = gce_host(gce_resource, '')
    assert name == 'mi-control-01'
Exemple #3
0
def test_attrs(gce_resource, gce_host, attr, should):
    _, attrs, _ = gce_host(gce_resource, 'module_name')
    assert attr in attrs
    assert attrs[attr] == should
Exemple #4
0
def test_name(gce_resource, gce_host):
    name, _, _ = gce_host(gce_resource, '')
    assert name == 'mi-control-01'
Exemple #5
0
def test_groups(gce_resource, gce_host, group):
    _, _, groups = gce_host(gce_resource, 'module_name')
    assert group in groups
Exemple #6
0
def test_attrs(gce_resource, gce_host, attr, should):
    _, attrs, _ = gce_host(gce_resource, 'module_name')
    assert attr in attrs
    assert attrs[attr] == should
Exemple #7
0
def test_groups(gce_resource, gce_host, group):
    _, _, groups = gce_host(gce_resource)
    assert group in groups