👋 Hi,
I am trying to unit-test my flows via a CI.
How can I run a flow which has a schedule? (i.e. I need to run it once without triggering the schedule).
j
Jim Crist-Harif
11/10/2020, 9:23 PM
flow.run(run_on_schedule=False)
should work!
👍 1
n
Newskooler
11/10/2020, 9:26 PM
Thanks Jim. In general is this a the way to go when I want to unit test?
j
Jim Crist-Harif
11/10/2020, 9:45 PM
No strong thoughts on how to unit-test your flows, but if you want to avoid running the schedule when running the flow that's the way.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.