Skip to content

Commit 0a79080

Browse files
committed
Clean up
1 parent 96d8d0f commit 0a79080

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pydra/engine/tests/test_specs.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ def test_task_inputs_mandatory_with_xOR_one_mandatory_is_OK():
419419
task.inputs.input_2 = attr.NOTHING
420420
task.inputs.check_fields_input_spec()
421421

422+
422423
def test_task_inputs_mandatory_with_xOR_one_mandatory_out_3_is_OK():
423424
"""input spec with mandatory inputs"""
424425
task = SimpleTask()
@@ -427,6 +428,7 @@ def test_task_inputs_mandatory_with_xOR_one_mandatory_out_3_is_OK():
427428
task.inputs.input_3 = True
428429
task.inputs.check_fields_input_spec()
429430

431+
430432
def test_task_inputs_mandatory_with_xOR_zero_mandatory_raises_error():
431433
"""input spec with mandatory inputs"""
432434
task = SimpleTask()
@@ -449,6 +451,7 @@ def test_task_inputs_mandatory_with_xOR_two_mandatories_raises_error():
449451
assert "input_2 is mutually exclusive with ('input_1', 'input_2'" in str(excinfo.value)
450452
assert excinfo.type is AttributeError
451453

454+
452455
def test_task_inputs_mandatory_with_xOR_3_mandatories_raises_error():
453456
"""input spec with mandatory inputs"""
454457
task = SimpleTask()
@@ -459,4 +462,4 @@ def test_task_inputs_mandatory_with_xOR_3_mandatories_raises_error():
459462
with pytest.raises(Exception) as excinfo:
460463
task.inputs.check_fields_input_spec()
461464
assert "input_2 is mutually exclusive with ('input_1', 'input_2', 'input_3'" in str(excinfo.value)
462-
assert excinfo.type is AttributeError
465+
assert excinfo.type is AttributeError

0 commit comments

Comments
 (0)