Esempio n. 1
0
def test_groups(gce_resource, gce_host, group):
    _, _, groups = gce_host(gce_resource, 'module_name')
    assert group in groups
Esempio n. 2
0
def test_name(gce_resource, gce_host):
    name, _, _ = gce_host(gce_resource, '')
    assert name == 'mi-control-01'
Esempio n. 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
Esempio n. 4
0
def test_name(gce_resource, gce_host):
    name, _, _ = gce_host(gce_resource, '')
    assert name == 'mi-control-01'
Esempio n. 5
0
def test_groups(gce_resource, gce_host, group):
    _, _, groups = gce_host(gce_resource, 'module_name')
    assert group in groups
Esempio n. 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
Esempio n. 7
0
def test_groups(gce_resource, gce_host, group):
    _, _, groups = gce_host(gce_resource)
    assert group in groups