assertValidOutput¶
-
lsst.pipe.base.testUtils.assertValidOutput(task, result)¶ Test that the output of a call to
runconforms to its own connections.Parameters: - task :
lsst.pipe.base.PipelineTask The task whose connections need validation. This is a fully-configured task object to support features such as optional outputs.
- result :
lsst.pipe.base.Struct A result object produced by calling
task.run.
Raises: - AssertionError:
Raised if
resultdoes not match what’s expected fromtask'sconnections.
- task :