Beispiel #1
0
def test_name(triton_resource, triton_machine):
    name, _, _ = triton_machine(triton_resource, '')
    assert name == 'mantl-control-01'
Beispiel #2
0
def test_groups(triton_resource, triton_machine, group):
    _, _, groups = triton_machine(triton_resource, 'module_name')
    print groups
    assert group in groups
Beispiel #3
0
def test_attrs(triton_resource, triton_machine, attr, should):
    _, attrs, _ = triton_machine(triton_resource, 'module_name')
    assert attr in attrs
    assert attrs[attr] == should
Beispiel #4
0
def test_groups(triton_resource, triton_machine, group):
    _, _, groups = triton_machine(triton_resource, 'module_name')
    print groups
    assert group in groups
Beispiel #5
0
def test_attrs(triton_resource, triton_machine, attr, should):
    _, attrs, _ = triton_machine(triton_resource, 'module_name')
    assert attr in attrs
    assert attrs[attr] == should
Beispiel #6
0
def test_name(triton_resource, triton_machine):
    name, _, _ = triton_machine(triton_resource, '')
    assert name == 'mantl-control-01'