We are currently observing some odd behavior when attempting to mock functions that are called within prefect flows during pytest test execution of integration tests.
It seems like the mocks don't work inside the prefect flows.
However, when re-importing the respective prefect flows after mock definition, the mocks seem to (partially) work.
Could this be related to how prefect flows are defined?
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.