Esempio n. 1
0
def test_name(triton_resource, triton_machine):
    name, _, _ = triton_machine(triton_resource, '')
    assert name == 'mantl-control-01'
Esempio n. 2
0
def test_groups(triton_resource, triton_machine, group):
    _, _, groups = triton_machine(triton_resource, 'module_name')
    print groups
    assert group in groups
Esempio n. 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
Esempio n. 4
0
def test_groups(triton_resource, triton_machine, group):
    _, _, groups = triton_machine(triton_resource, 'module_name')
    print groups
    assert group in groups
Esempio n. 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
Esempio n. 6
0
def test_name(triton_resource, triton_machine):
    name, _, _ = triton_machine(triton_resource, '')
    assert name == 'mantl-control-01'