wooden-thailand-838609/11/2020, 7:48 PM
folder that branches into a similar structure as I have for my projects ands libs.. something like:
and for libA and libB I might have a couple of fixtures that are basically the same. Should I create a “fixtures-lib” and use / put a fixtures folder under
and reuse it or duplicate code?
hundreds-father-40409/11/2020, 7:51 PM
folder with test data, like sample JSON values.
I think you can also put Pytest fixtures in a
. As soon as you can upgrade to 2.0, we added a
mechanism that will automatically infer a dependency on any
in the current directory and any ancestor directory
In the meantime, you’d have to explicitly add the dependency.
(Benjy is close to landing the proxy fixes: https://github.com/pantsbuild/pants/pull/10757)
wooden-thailand-838609/11/2020, 7:54 PM
from shared_fixtures import stack_agent
stack_agent = stack_agent