Skip to content

Commit

Permalink
use correct target
Browse files Browse the repository at this point in the history
  • Loading branch information
tdyas committed Feb 14, 2025
1 parent eb13cc5 commit 663fa21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/pants/backend/shell/goals/test_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def run_test(test_target: Target) -> TestResult:
pass_debug_result = rule_runner.run_interactive_process(pass_debug_request.process)
assert pass_debug_result.exit_code == 0

fail_debug_request = rule_runner.request(TestDebugRequest, [test_batch_for_target(pass_target)])
fail_debug_request = rule_runner.request(TestDebugRequest, [test_batch_for_target(fail_target)])
with mock_console(rule_runner.options_bootstrapper):
fail_debug_result = rule_runner.run_interactive_process(fail_debug_request.process)
assert fail_debug_result.exit_code == 0
assert fail_debug_result.exit_code == 1

0 comments on commit 663fa21

Please sign in to comment.