:wave: Hi, I am trying to unit-test my flows via a...
# ask-community
n
👋 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
flow.run(run_on_schedule=False)
should work!
👍 1
n
Thanks Jim. In general is this a the way to go when I want to unit test?
j
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.
👍 1