6db9355ebc77853f02bc6aded82151375d113f9c,src/python/pants/backend/python/goals/package_pex_binary_integration_test.py,,test_warn_files_targets,#Any#Any#,36
Before Change
),
)
rule_runner.create_file("src/py/project/__init__.py")
rule_runner.create_file("src/py/project/app.py", "print("hello")")
rule_runner.add_to_build_file(
"src/py/project",
dedent(
After Change
def test_warn_files_targets(rule_runner: RuleRunner, caplog) -> None:
rule_runner.set_options([], env_inherit={"PATH", "PYENV_ROOT", "HOME"})
rule_runner.write_files(
{
"assets/f.txt": "",
"assets/BUILD": dedent(
\
files(name="files", sources=["f.txt"])
relocated_files(
name="relocated",
files_targets=[":files"],
src="assets",
dest="new_assets",
)
// Resources are fine.
resources(name="resources", sources=["f.txt"])
),
"src/py/project/__init__.py": "",
"src/py/project/app.py": "print("hello")",
"src/py/project/BUILD": dedent(
\
pex_binary(
dependencies=["assets:files", "assets:relocated", "assets:resources"],
entry_point="none",
)
),
}
)
tgt = rule_runner.get_target(Address("src/py/project"))
field_set = PexBinaryFieldSet.create(tgt)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: pantsbuild/pants
Commit Name: 6db9355ebc77853f02bc6aded82151375d113f9c
Time: 2021-03-30
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/goals/package_pex_binary_integration_test.py
Class Name:
Method Name: test_warn_files_targets
Project Name: pantsbuild/pants
Commit Name: 8e564173306e7e9ea05e13289388a9753be6a21a
Time: 2021-04-07
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/codegen/protobuf/protobuf_dependency_inference_test.py
Class Name:
Method Name: test_protobuf_mapping
Project Name: pantsbuild/pants
Commit Name: 2d515b55b25a62b1f5961955e977e2fce4ae511e
Time: 2015-10-06
Author: stuhood@gmail.com
File Name: tests/python/pants_test/tasks/test_jar_task.py
Class Name: JarBuilderTest
Method Name: test_agent_manifest
Project Name: pantsbuild/pants
Commit Name: 2d515b55b25a62b1f5961955e977e2fce4ae511e
Time: 2015-10-06
Author: stuhood@gmail.com
File Name: tests/python/pants_test/tasks/test_jar_task.py
Class Name: JarBuilderTest
Method Name: test_manifest_items