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

Before Change


        http://httpbin.org/status/503
        .splitlines()

        self.assertResult(invalid_file=invalid_file)

        // Link Does Not Exist
        invalid_file = 
           http://coalaisthebest.com/

After Change


        http://httpbin.org/status/500
        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)
            self.assertTrue(InvalidLinkBear.check_prerequisites())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

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: coala/coala-bears
Commit Name: 2988531a988a032cf4a8f95c17a0ee9007dfc48f
Time: 2016-11-27
Author: rafidteam@gmail.com
File Name: tests/general/InvalidLinkBearTest.py
Class Name: InvalidLinkBearTest
Method Name: test_pip_vcs_url


Project Name: coala/coala-bears
Commit Name: e4daf7e39fc5d2db6d3139351f1174fb44fa34ff
Time: 2017-01-21
Author: vijthaaa@gmail.com
File Name: bears/haskell/HaskellLintBear.py
Class Name: HaskellLintBear
Method Name: process_output