[PipelineInstance, 'pipeline_in_running_state', nil, 1, "Running", nil, 0.0],
[PipelineInstance, 'has_component_with_completed_jobs', nil, 3, "Complete", true, 1.0],
[PipelineInstance, 'pipeline_with_tagged_collection_input', "pwu", 1, "Ready", nil, 0.0],
- ].each do |type, name, label, num_children, state, success, progress|
- test "children of #{name}" do
+ [Container, 'requester', 'cwu', 3, "Complete", true, 1.0],
- use_token 'active'
+ ].each do |type, fixture, label, num_children, state, success, progress|
+ test "children of #{fixture}" do
- obj = find_fixture(type, name)
+ use_token 'admin'
+ obj = find_fixture(type, fixture)
wu = obj.work_unit(label)
if label != nil