ad2a5aff09be0fbe529d34c9a54ccd849a909377,src/python/pants/rules/core/test_test.py,TestTest,test_multiple_targets,#TestTest#,215

Before Change


        )

    def test_multiple_targets(self) -> None:
        good_target = FmtTest.make_hydrated_target_with_origin(name="good")
        good_address = good_target.target.adaptor.address
        bad_target = FmtTest.make_hydrated_target_with_origin(name="bad")
        bad_address = bad_target.target.adaptor.address

        exit_code, stdout = self.run_test_rule(
            test_runner=ConditionallySucceedsTestRunner, targets=[good_target, bad_target],
        )
        assert exit_code == 1
        assert stdout == dedent(

After Change


        )

    def test_multiple_targets(self) -> None:
        good_address = Address.parse(":good")
        bad_address = Address.parse(":bad")

        exit_code, stdout = self.run_test_rule(
            config=ConditionallySucceedsConfiguration,
            targets=[
                self.make_target_with_origin(address=good_address),
                self.make_target_with_origin(bad_address),
            ],
        )
        assert exit_code == 1
        assert stdout == dedent(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: pantsbuild/pants
Commit Name: ad2a5aff09be0fbe529d34c9a54ccd849a909377
Time: 2020-04-09
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/rules/core/test_test.py
Class Name: TestTest
Method Name: test_multiple_targets


Project Name: pantsbuild/pants
Commit Name: 9228ad83a3ecde2fb5a714d1eb43c7c1ee2e200b
Time: 2020-04-15
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/rules/core/fmt_test.py
Class Name: FmtTest
Method Name: test_multiple_languages_with_multiple_targets


Project Name: pantsbuild/pants
Commit Name: ad2a5aff09be0fbe529d34c9a54ccd849a909377
Time: 2020-04-09
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/rules/core/test_test.py
Class Name: TestTest
Method Name: test_multiple_debug_targets_fail


Project Name: pantsbuild/pants
Commit Name: 9228ad83a3ecde2fb5a714d1eb43c7c1ee2e200b
Time: 2020-04-15
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/rules/core/fmt_test.py
Class Name: FmtTest
Method Name: test_single_language_with_multiple_targets