5bfdf71bbb631228d9003e83ebb0d57f1bc120a1,src/python/pants/backend/python/pants_requirement_test.py,PantsRequirementTest,assert_pants_requirement,#,35
Before Change
self.add_to_build_file("3rdparty/python", f"{build_file_entry}\n")
target = self.request_product(
WrappedTarget,
Params(
Address("3rdparty/python", target_name=expected_target_name),
create_options_bootstrapper(),
),
).target
assert isinstance(target, PythonRequirementLibrary)
assert target[PythonRequirementsField].value == (
After Change
self.add_to_build_file("3rdparty/python", f"{build_file_entry}\n")
target = self.request_product(
WrappedTarget,
[
Address("3rdparty/python", target_name=expected_target_name),
create_options_bootstrapper(),
],
).target
assert isinstance(target, PythonRequirementLibrary)
assert target[PythonRequirementsField].value == (
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: pantsbuild/pants
Commit Name: 5bfdf71bbb631228d9003e83ebb0d57f1bc120a1
Time: 2020-08-24
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/pants_requirement_test.py
Class Name: PantsRequirementTest
Method Name: assert_pants_requirement
Project Name: pantsbuild/pants
Commit Name: 5bfdf71bbb631228d9003e83ebb0d57f1bc120a1
Time: 2020-08-24
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/lint/pylint/rules_integration_test.py
Class Name: PylintIntegrationTest
Method Name: make_target
Project Name: pantsbuild/pants
Commit Name: 5bfdf71bbb631228d9003e83ebb0d57f1bc120a1
Time: 2020-08-24
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/typecheck/mypy/rules_integration_test.py
Class Name: MyPyIntegrationTest
Method Name: make_target