Skip to content
Discussion options

You must be logged in to vote

You can run your python workflow locally before submitting it to Flyte, which is the recommended way.

python main.py

For a unit test, you could use any tool that is available in the python ecosystem like pytest. Or mock tasks and write unit tests like regular python functions.

Reference: https://docs.flyte.org/projects/flytekit/en/latest/generated/flytekit.testing.task_mock.html#flytekit-testing-task-mock

@evalsocket
@kumare3

Replies: 1 comment

Comment options

SandraGH5
Jul 30, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by SandraGH5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
flytekit FlyteKit Python related issue
1 participant