I have a question about the proper use of `paramet...
# general
d
I have a question about the proper use of
parametrize
I have a
python_tests
target which depends on a
python_sources
target. I've added this to the list of
dependencies
explicitly. I have multiple resolves. Both targets have
resolve=parametrize(*resolves)
. Pants is giving me this error:
does not provide enough address parameters to identify which parametrization of the dependency target should be used
. What's the best way to work around this?
Thing look something like this:
Copy code
python_tests(name="test_utils",
sources=["tests/**/*.py", "!tests/**/test_*.py"],
resolve=parametrize(*resolves)
)

python_tests(name="tests",
sources=["tests/**/test_*.py"],
resolve=parametrize(*resolves),
dependencies=[":test_utils"]
)
On this line
dependencies=[":test_utils"]
can I reference the
:test_utils
target in some way to make it clear that both targets use the same
resolve=parametrize(*resolves)
strategy?