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