15f70ee5e5a6d9ab272bed0ea66f541c6c91b091,src/python/pants/engine/goal_test.py,,test_line_oriented_goal,#,11

Before Change


            print_stdout("line oriented")
        return OutputtingGoal(0)

    console = MockConsole()
    result: OutputtingGoal = run_rule_with_mocks(
        output_rule,
        rule_args=[
            console,

After Change


            print_stdout("line oriented")
        return OutputtingGoal(0)

    with mock_console(create_options_bootstrapper()) as (console, stdio_reader):
        result: OutputtingGoal = run_rule_with_mocks(
            output_rule,
            rule_args=[
                console,
                create_goal_subsystem(OutputtingGoalOptions, sep="\\n", output_file=None),
            ],
        )
        assert result.exit_code == 0
        assert stdio_reader.get_stdout() == "output...line oriented\n"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: pantsbuild/pants
Commit Name: 15f70ee5e5a6d9ab272bed0ea66f541c6c91b091
Time: 2021-04-09
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/engine/goal_test.py
Class Name:
Method Name: test_line_oriented_goal


Project Name: pantsbuild/pants
Commit Name: 15f70ee5e5a6d9ab272bed0ea66f541c6c91b091
Time: 2021-04-09
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/core/goals/typecheck_test.py
Class Name:
Method Name: run_typecheck_rule


Project Name: pantsbuild/pants
Commit Name: 15f70ee5e5a6d9ab272bed0ea66f541c6c91b091
Time: 2021-04-09
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/project_info/filter_targets_test.py
Class Name:
Method Name: run_goal