e702c371576066d1ca7533f98dc18263a2abfebf,tests/general/InvalidLinkBearTest.py,InvalidLinkBearTest,test_pip_vcs_url,#InvalidLinkBearTest#,219

Before Change


        hg+http://httpbin.org/status/404//egg=coala-bears
        bzr+http://httpbin.org/status/404//egg=coala-bears

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

        brokenlink_at_hash = git+http://httpbin.org/status/404@master//egg=coala-bears
        svn+http://httpbin.org/status/404@master//egg=coala-bears
        hg+http://httpbin.org/status/404@master//egg=coala-bears
        bzr+http://httpbin.org/status/404@master//egg=coala-bears

After Change


        bzr+http://httpbin.org/status/404@master//egg=coala-bears
        .splitlines()

        with requests_mock.Mocker() as m:
            m.add_matcher(custom_matcher)

            self.check_validity(self.uut, with_at)
            self.check_validity(self.uut, with_hash)
            self.check_validity(self.uut, with_at_hash)

            self.check_line_result_count(self.uut, brokenlink_at,
                                         [1, 1, 1, 1])

            self.check_line_result_count(self.uut, brokenlink_hash,
                                         [1, 1, 1, 1])

            self.check_line_result_count(self.uut, brokenlink_at_hash,
                                         [1, 1, 1, 1])

    def test_xml_namespaces(self):
        valid_file = 
        //Namespace and also a valid link
        <ruleset name="test" xmlns="http://httpbin.org/status/200">
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: coala/coala-bears
Commit Name: e702c371576066d1ca7533f98dc18263a2abfebf
Time: 2017-06-08
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: e702c371576066d1ca7533f98dc18263a2abfebf
Time: 2017-06-08
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: 1eba84da563d3c4a7077d2585bd9257418f785c2
Time: 2017-05-14
Author: rafidteam@gmail.com
File Name: tests/general/InvalidLinkBearTest.py
Class Name: InvalidLinkBearTest
Method Name: test_run


Project Name: coala/coala-bears
Commit Name: e702c371576066d1ca7533f98dc18263a2abfebf
Time: 2017-06-08
Author: rafidteam@gmail.com
File Name: tests/general/InvalidLinkBearTest.py
Class Name: InvalidLinkBearTest
Method Name: test_xml_namespaces