9fc01086d3e6b7d1e659b7fbca22a21f93e191d8,src/python/pants/rules/core/strip_source_roots_test.py,StripSourceRootsTests,rules,#Any#,19
Before Change
class StripSourceRootsTests(TestBase):
@classmethod
def rules(cls):
return super().rules() + [
strip_source_root,
RootRule(SourceRootConfig),
RootRule(HydratedTarget),
] + create_fs_rules()
def assert_stripped_source_file(self, *, original_path: str, expected_path: str, target_type_alias = None):
init_subsystem(SourceRootConfig)
adaptor = Mock()
After Change
class StripSourceRootsTests(TestBase):
@classmethod
def rules(cls):
return (*super().rules(), *strip_source_root_rules(), RootRule(HydratedTarget))
def assert_stripped_source_file(
self, *, original_path: str, expected_path: str, target_type_alias: Optional[str] = None,
) -> None:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: pantsbuild/pants
Commit Name: 9fc01086d3e6b7d1e659b7fbca22a21f93e191d8
Time: 2020-01-10
Author: ericarellano@me.com
File Name: src/python/pants/rules/core/strip_source_roots_test.py
Class Name: StripSourceRootsTests
Method Name: rules
Project Name: pantsbuild/pants
Commit Name: 9fc01086d3e6b7d1e659b7fbca22a21f93e191d8
Time: 2020-01-10
Author: ericarellano@me.com
File Name: src/python/pants/backend/python/rules/pex_test.py
Class Name: TestResolveRequirements
Method Name: rules
Project Name: pantsbuild/pants
Commit Name: 4d5da59a1b7a5050b57625cf89c80f775bda87e2
Time: 2020-08-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/fs/fs_test.py
Class Name: WorkspaceInGoalRuleTest
Method Name: rules