def test_name(triton_resource, triton_machine): name, _, _ = triton_machine(triton_resource, '') assert name == 'mantl-control-01'
def test_groups(triton_resource, triton_machine, group): _, _, groups = triton_machine(triton_resource, 'module_name') print groups assert group in groups
def test_attrs(triton_resource, triton_machine, attr, should): _, attrs, _ = triton_machine(triton_resource, 'module_name') assert attr in attrs assert attrs[attr] == should