Beispiel #1
0
def test_groups(digitalocean_resource, digitalocean_host, group):
    _, _, groups = digitalocean_host(digitalocean_resource, 'module_name')
    assert group in groups
Beispiel #2
0
def test_attrs(digitalocean_resource, digitalocean_host, attr, should):
    _, attrs, _ = digitalocean_host(digitalocean_resource, 'module_name')
    assert attr in attrs
    assert attrs[attr] == should
Beispiel #3
0
def test_name(digitalocean_resource, digitalocean_host):
    name, _, _ = digitalocean_host(digitalocean_resource, '')
    assert name == 'mi-control-01'
def test_groups(digitalocean_resource, digitalocean_host, group):
    _, _, groups = digitalocean_host(digitalocean_resource, 'module_name')
    assert group in groups
def test_attrs(digitalocean_resource, digitalocean_host, attr, should):
    _, attrs, _ = digitalocean_host(digitalocean_resource, 'module_name')
    assert attr in attrs
    assert attrs[attr] == should
def test_name(digitalocean_resource, digitalocean_host):
    name, _, _ = digitalocean_host(digitalocean_resource, '')
    assert name == 'mi-control-01'