helpful-librarian-76940
12/13/2024, 12:04 PMrun_goal_rule
to unit test my Constraints
goal, but this fails because I can't find a working way to mock the rule that downloads a poetry pex. I tried using run_rule_with_mocks
to mock this rule via MockGet
, but I'm not quite sure how to pass the right requirements to test my goal.
The ideal scenario would be run_goal_rule_with_mocks
, but I don't think that exists atm 😅 Would really appreciate some guidance, thanks!broad-processor-92400
12/23/2024, 11:14 PMhelpful-librarian-76940
12/24/2024, 9:44 AMrun_rule_with_mocks
on the goal and mocking every rule, but I'm sure there's a better way...