Hey folks! I switched my flow to use prefect-clien...
# ask-community
m
Hey folks! I switched my flow to use prefect-client, but now I am seeing test failures because
ModuleNotFoundError: No module named 'prefect.testing'
when I use
prefect_test_harness
. I am not seeing a specific prefect-testing package that I could use, am I missing it? Should I take
prefect
as a test dependency?
n
off the top of my head, I'd say its likely the
testing
module is not included in the
prefect-client
, so if you need to use the test harness, I would use
prefect
m
sounds good, would it make sense for me to request that as a module in pypi in a GH issue?
n
to be clear, the ask would be for us to publish a
prefect-testing
module?
m
Yeah. I guess I don't know the dependency footprint of
prefect
vs
prefect-testing
but ideally want to keep footprint as small as possible
If they are roughly the same dependencies between the two probably doesn't make sense
👍 1
n
itd be kind of hard (if even possible) to have a functional
prefect_test_harness
without the bulk of `prefect`'s code anyways, so i do not think that we would publish a standalone
prefect-testing
library for that reason
m
got it, makes sense
n
is there a specific problem you have or are you just trying to optimize?
m
just trying to pre-optimize 🙂
all good with
prefect
, thank you!
n
👍