e8d66e65b64870954b9d2b561e0776c82e9c53c5,src/python/pants/testutil/goal_rule_test_base.py,GoalRuleTestBase,assert_console_output_ordered,#GoalRuleTestBase#,129

Before Change


        *output:  the expected output entries in expected order
        **kwargs: additional kwargs passed to execute_rule.
        
        self.assertEqual(list(output), self.execute_rule(**kwargs).splitlines())

    def assert_console_raises(self, exception, **kwargs):
        Verifies the expected exception is raised by the console task under test.

After Change


        *output:  the expected output entries in expected order
        **kwargs: additional kwargs passed to execute_rule.
        
        result = self.execute_rule(**kwargs)
        assert list(output) == result.stdout.splitlines()

    def assert_console_raises(self, exception: Type[Exception], **kwargs) -> None:
        Verifies the expected exception is raised by the goal rule.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: e8d66e65b64870954b9d2b561e0776c82e9c53c5
Time: 2020-04-30
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/testutil/goal_rule_test_base.py
Class Name: GoalRuleTestBase
Method Name: assert_console_output_ordered


Project Name: pantsbuild/pants
Commit Name: e8d66e65b64870954b9d2b561e0776c82e9c53c5
Time: 2020-04-30
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/testutil/goal_rule_test_base.py
Class Name: GoalRuleTestBase
Method Name: assert_console_output


Project Name: pantsbuild/pants
Commit Name: e8d66e65b64870954b9d2b561e0776c82e9c53c5
Time: 2020-04-30
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/testutil/goal_rule_test_base.py
Class Name: GoalRuleTestBase
Method Name: assert_entries


Project Name: pantsbuild/pants
Commit Name: e8d66e65b64870954b9d2b561e0776c82e9c53c5
Time: 2020-04-30
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/testutil/goal_rule_test_base.py
Class Name: GoalRuleTestBase
Method Name: assert_console_output_contains