hundreds-father-404
05/15/2019, 11:02 PMTestBase.scheduler.product_request()
, but everything works when using ./pants --no-v1 --v2 test
.witty-crayon-22786
05/15/2019, 11:26 PMwitty-crayon-22786
05/15/2019, 11:27 PMwitty-crayon-22786
05/15/2019, 11:28 PMhundreds-father-404
05/15/2019, 11:28 PMwitty-crayon-22786
05/15/2019, 11:28 PMwitty-crayon-22786
05/15/2019, 11:29 PMhundreds-father-404
05/15/2019, 11:44 PME Exception: No installed @rules can satisfy Select(InitInjectedDigest) for input Params(Snapshot).
How do you install a rule? Implementing def rules()
on the test class did not work.witty-crayon-22786
05/15/2019, 11:53 PMhundreds-father-404
05/15/2019, 11:53 PMTestBase
witty-crayon-22786
05/15/2019, 11:54 PMdef rules
.witty-crayon-22786
05/15/2019, 11:54 PMwitty-crayon-22786
05/15/2019, 11:55 PMwitty-crayon-22786
05/15/2019, 11:56 PMwitty-crayon-22786
05/15/2019, 11:56 PMwitty-crayon-22786
05/15/2019, 11:56 PMscheduler.product_request
), you should declare a RootRulewitty-crayon-22786
05/15/2019, 11:57 PMhundreds-father-404
05/15/2019, 11:57 PMwitty-crayon-22786
05/15/2019, 11:57 PMRootRule(Snapshot)
in your test classes' def rules
witty-crayon-22786
05/15/2019, 11:59 PMproduct_request
while pants is actually running)witty-crayon-22786
05/15/2019, 11:59 PMhundreds-father-404
05/16/2019, 12:02 AM