We are currently observing some odd behavior when ...
# ask-community
r
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?