3b77f6b6c38fea6616cae10ca8e0c3a20782934a,contrib/go/tests/python/pants_test/contrib/go/subsystems/test_fetchers.py,FetchersTest,fetcher,#FetchersTest#Any#,18

Before Change


class FetchersTest(base_test.BaseTest):
  @contextmanager
  def fetcher(self, import_path):
    with subsystem_instance(FetcherFactory) as fetcher_factory:
      yield fetcher_factory.get_fetcher(import_path)

  def check_default(self, import_path, expected_root):
    with self.fetcher(import_path) as fetcher:
      self.assertEqual(expected_root, fetcher.root())

After Change



class FetchersTest(base_test.BaseTest):
  def fetcher(self, import_path):
    fetcher_factory = global_subsystem_instance(FetcherFactory)
    return fetcher_factory.get_fetcher(import_path)

  def check_default(self, import_path, expected_root):
    fetcher = self.fetcher(import_path)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: 3b77f6b6c38fea6616cae10ca8e0c3a20782934a
Time: 2016-09-12
Author: benjyw@gmail.com
File Name: contrib/go/tests/python/pants_test/contrib/go/subsystems/test_fetchers.py
Class Name: FetchersTest
Method Name: fetcher


Project Name: pantsbuild/pants
Commit Name: 3b77f6b6c38fea6616cae10ca8e0c3a20782934a
Time: 2016-09-12
Author: benjyw@gmail.com
File Name: tests/python/pants_test/java/distribution/test_distribution.py
Class Name: LiveDistributionTest
Method Name: test_validate_live_jdk


Project Name: pantsbuild/pants
Commit Name: 3b77f6b6c38fea6616cae10ca8e0c3a20782934a
Time: 2016-09-12
Author: benjyw@gmail.com
File Name: tests/python/pants_test/ivy/test_ivy_subsystem.py
Class Name: IvySubsystemTest
Method Name: test_proxy_from_env


Project Name: pantsbuild/pants
Commit Name: 3b77f6b6c38fea6616cae10ca8e0c3a20782934a
Time: 2016-09-12
Author: benjyw@gmail.com
File Name: tests/python/pants_test/ivy/test_ivy_subsystem.py
Class Name: IvySubsystemTest
Method Name: test_parse_proxy_string


Project Name: pantsbuild/pants
Commit Name: 3b77f6b6c38fea6616cae10ca8e0c3a20782934a
Time: 2016-09-12
Author: benjyw@gmail.com
File Name: tests/python/pants_test/java/distribution/test_distribution.py
Class Name: LiveDistributionTest
Method Name: test_validate_live


Project Name: pantsbuild/pants
Commit Name: 3b77f6b6c38fea6616cae10ca8e0c3a20782934a
Time: 2016-09-12
Author: benjyw@gmail.com
File Name: contrib/android/tests/python/pants_test/contrib/android/android_integration_test.py
Class Name: AndroidIntegrationTest
Method Name: requirements