def test_groups(softlayer_resource, softlayer_host, group): _, _, groups = softlayer_host(softlayer_resource, 'module_name') assert group in groups
def test_attrs(softlayer_resource, softlayer_host, attr, should): _, attrs, _ = softlayer_host(softlayer_resource, 'module_name') assert attr in attrs assert attrs[attr] == should
def test_name(softlayer_resource, softlayer_host): name, _, _ = softlayer_host(softlayer_resource, '') assert name == "mi-control-01"