f7b260e965e277d62d2f54847671d06b1763fb21,tests/python/pants_test/integration/build_ignore_integration_test.py,BuildIgnoreIntegrationTest,test_build_ignore_dependency,#BuildIgnoreIntegrationTest#,28

Before Change


        assert f"{tmpdir_relative}/dir" in no_ignore_result.stdout

    def test_build_ignore_dependency(self) -> None:
        with temporary_dir(root_dir=get_buildroot()) as tmpdir:
            tmpdir_relative = Path(tmpdir).relative_to(get_buildroot())
            Path(tmpdir, "dir1").mkdir()
            Path(tmpdir, "dir1", "BUILD").write_text("files(sources=[])")
            Path(tmpdir, "dir2").mkdir()
            Path(tmpdir, "dir2", "BUILD").write_text(
                f"files(sources=[], dependencies=["{tmpdir_relative}/dir1"])"
            )
            ignore_result = self.run_pants(

After Change


        assert f"{tmpdir}/dir" in no_ignore_result.stdout

    def test_build_ignore_dependency(self) -> None:
        sources = {
            "dir1/BUILD": "files(sources=[])",
            "dir2/BUILD": "files(sources=[], dependencies=["{tmpdir}/dir1"])",
        }
        with self.setup_tmpdir(sources) as tmpdir:
            ignore_result = self.run_pants(
                [f"--build-ignore={tmpdir}/dir1", "dependencies", f"{tmpdir}/dir2"]
            )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: pantsbuild/pants
Commit Name: f7b260e965e277d62d2f54847671d06b1763fb21
Time: 2020-08-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: tests/python/pants_test/integration/build_ignore_integration_test.py
Class Name: BuildIgnoreIntegrationTest
Method Name: test_build_ignore_dependency


Project Name: pantsbuild/pants
Commit Name: f7b260e965e277d62d2f54847671d06b1763fb21
Time: 2020-08-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: tests/python/pants_test/integration/build_ignore_integration_test.py
Class Name: BuildIgnoreIntegrationTest
Method Name: test_build_ignore_dependency


Project Name: pantsbuild/pants
Commit Name: f7b260e965e277d62d2f54847671d06b1763fb21
Time: 2020-08-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/rules/run_python_binary_integration_test.py
Class Name: RunPythonBinaryIntegrationTest
Method Name: test_sample_script


Project Name: pantsbuild/pants
Commit Name: f7b260e965e277d62d2f54847671d06b1763fb21
Time: 2020-08-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: tests/python/pants_test/integration/build_ignore_integration_test.py
Class Name: BuildIgnoreIntegrationTest
Method Name: test_build_ignore_list