Unit Testing#

The imports exposed in this package will help you unit test your Flyte tasks. These are particularly helpful when testing workflows that contain tasks that cannot run locally (a Hive task for instance).

patch(target)

This is a decorator used for testing.

task_mock(t)

Use this method to mock a task declaration.