4dec4b162832fd85d1683c02b76018393a903381,tests/general/InvalidLinkBearTest.py,InvalidLinkBearTest,test_run,#InvalidLinkBearTest#,72

Before Change


        valid_file = 
        http://httpbin.org/status/401
        
        invalid_file = 
        http://httpbin.org/status/404
        http://httpbin.org/status/410
        .splitlines()

        self.assertResult(valid_file=valid_file, invalid_file=invalid_file)

        // Invalid Link ServerError

After Change


        http://httpbin.org/status/503

        for line in invalid_file.splitlines():
            self.assertResult(invalid_file=[line])

    def test_check_prerequisites(self):
        with requests_mock.Mocker() as m:
            m.add_matcher(custom_matcher)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: coala/coala-bears
Commit Name: 4dec4b162832fd85d1683c02b76018393a903381
Time: 2016-08-16
Author: lasse.schuirmann@gmail.com
File Name: tests/general/InvalidLinkBearTest.py
Class Name: InvalidLinkBearTest
Method Name: test_run


Project Name: pantsbuild/pants
Commit Name: 49146eff49d5116e58739e3ff201a50311f0e46b
Time: 2018-10-25
Author: blorente@users.noreply.github.com
File Name: tests/python/pants_test/engine/legacy/test_console_rule_integration.py
Class Name: TestConsoleRuleIntegration
Method Name: test_v2_list


Project Name: coala/coala-bears
Commit Name: 523d96a627be0ae4ffe476f0a7f4801896951efe
Time: 2016-05-26
Author: sanketdasgupta@gmail.com
File Name: tests/general/InvalidLinkBearTest.py
Class Name: InvalidLinkBearTest
Method Name: test_run


Project Name: pantsbuild/pants
Commit Name: c4be974315789ed11e0b291babed4be76f0a6195
Time: 2018-10-29
Author: blorente@users.noreply.github.com
File Name: tests/python/pants_test/engine/legacy/test_console_rule_integration.py
Class Name: TestConsoleRuleIntegration
Method Name: test_v2_list_does_not_cache