c2313daa955f50184c31fba3164db7ec02bde465,src/python/pants/rules/core/fmt_test.py,FmtTest,make_hydrated_target_with_origin,#,42

Before Change


        ht = HydratedTarget(
            address=address,
            adaptor=adaptor_type(
                sources=EagerFilesetWithSpec("src/python", {"globs": []}, snapshot=mocked_snapshot),
                name=name,
                address=address,
            ),

After Change


        include_sources: bool = True,
    ) -> HydratedTargetWithOrigin:
        sources = Mock()
        sources.snapshot = Mock()
        sources.snapshot.files = ("f1",) if include_sources else ()
        address = Address.parse(f"//:{name}")
        ht = HydratedTarget(
            address=address,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: c2313daa955f50184c31fba3164db7ec02bde465
Time: 2020-03-02
Author: ericarellano@me.com
File Name: src/python/pants/rules/core/fmt_test.py
Class Name: FmtTest
Method Name: make_hydrated_target_with_origin


Project Name: mozilla/mozregression
Commit Name: cc3248161ee7e41ec405dd98c99c0dd930e8ad2c
Time: 2015-08-24
Author: j.parkouss@gmail.com
File Name: gui/tests/test_report.py
Class Name:
Method Name: test_report_basic


Project Name: biolab/orange3
Commit Name: bbf0ef9da5e116c323dd94452bd909e1e1ef2148
Time: 2014-02-11
Author: anze.staric@gmail.com
File Name: Orange/widgets/tests/test_settings.py
Class Name: DomainContextSettingsHandlerTests
Method Name: test_match_if_all_values_match_returns_1


Project Name: pantsbuild/pants
Commit Name: 28b3389ac9f5bd9f6172bfa3e8f33568afeeea19
Time: 2015-10-06
Author: tansy.arron@gmail.com
File Name: tests/python/pants_test/cache/test_cache_setup.py
Class Name: TestCacheSetup
Method Name: setUp