bored-art-4074104/04/2021, 10:17 PM
, I somehow indirectly break Python's test rule graph.
No installed rules return the type PythonTestFieldSet, and it was not provided by potential callers of @rule(pants.backend.python.goals.pytest_runner:282:run_python_test(PythonTestFieldSet, TestSubsystem, PyTest) -> TestResult, gets=[Get(TestSetup, TestSetupRequest), Get(FallibleProcessResult, Process), Get(PySnapshot, DigestSubset), Get(PySnapshot, AddPrefix), Get(PySnapshot, RemovePrefix)]).
hundreds-father-40404/05/2021, 4:40 AM
as well. I think that could fix this and this error message is simply really misleading I've been adding the Shunit2 test runner and have not hit this, so it should be possible to add a second test runner
bored-art-4074104/07/2021, 12:18 AM
. Am I missing something?
, and given that
doesn't meantion it at all)
hundreds-father-40404/07/2021, 12:40 AM
. I suspect that because that rule is not implemented, the rule graph is incomplete, resulting in this bogus error message
bored-art-4074104/07/2021, 12:40 AM
from my field set, even just stubbed in
hundreds-father-40404/07/2021, 12:41 AM
statements. The actual code can be invalid - it's only the shape of the rule that matters
bored-art-4074104/07/2021, 12:48 AM
hundreds-father-40404/07/2021, 12:51 AM