49e6bb805fa59807d171fc576bbf9780c92d6f74,tests/python/pants_test/engine/test_rules.py,RuleTest,test_run_rule_console_rule_generator,#RuleTest#,89

Before Change



class RuleTest(unittest.TestCase):
  def test_run_rule_console_rule_generator(self):
    res = run_rule(a_console_rule_generator, Console(), {
        (A, str): lambda _: A(),
      })
    self.assertEquals(res, Example(0))

After Change


    res = run_rule(
      a_console_rule_generator,
      rule_args=[Console()],
      mock_gets=[MockGet(product_type=A, subject_type=str, mock=lambda _: A())],
    )
    self.assertEquals(res, Example(0))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 49e6bb805fa59807d171fc576bbf9780c92d6f74
Time: 2019-11-18
Author: ericarellano@me.com
File Name: tests/python/pants_test/engine/test_rules.py
Class Name: RuleTest
Method Name: test_run_rule_console_rule_generator


Project Name: pantsbuild/pants
Commit Name: 49e6bb805fa59807d171fc576bbf9780c92d6f74
Time: 2019-11-18
Author: ericarellano@me.com
File Name: tests/python/pants_test/rules/test_test.py
Class Name: TestTest
Method Name: test_globbed_test_target


Project Name: pantsbuild/pants
Commit Name: 49e6bb805fa59807d171fc576bbf9780c92d6f74
Time: 2019-11-18
Author: ericarellano@me.com
File Name: tests/python/pants_test/rules/test_test.py
Class Name: TestTest
Method Name: test_single_non_test_target


Project Name: pantsbuild/pants
Commit Name: 49e6bb805fa59807d171fc576bbf9780c92d6f74
Time: 2019-11-18
Author: ericarellano@me.com
File Name: tests/python/pants_test/rules/test_test.py
Class Name: TestTest
Method Name: test_globbed_non_test_target


Project Name: pantsbuild/pants
Commit Name: 49e6bb805fa59807d171fc576bbf9780c92d6f74
Time: 2019-11-18
Author: ericarellano@me.com
File Name: tests/python/pants_test/rules/test_test.py
Class Name: TestTest
Method Name: single_target_test


Project Name: pantsbuild/pants
Commit Name: 49e6bb805fa59807d171fc576bbf9780c92d6f74
Time: 2019-11-18
Author: ericarellano@me.com
File Name: tests/python/pants_test/rules/test_run.py
Class Name: RunTest
Method Name: single_target_run


Project Name: pantsbuild/pants
Commit Name: 49e6bb805fa59807d171fc576bbf9780c92d6f74
Time: 2019-11-18
Author: ericarellano@me.com
File Name: tests/python/pants_test/rules/test_test.py
Class Name: TestTest
Method Name: test_coordinator_python_test