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

Before Change


        bzr+http://httpbin.org/status/200@master
        .splitlines()

        self.assertResult(valid_file=with_at)

        with_hash = 
        git+http://httpbin.org/status/200//egg=coala-bears
        svn+http://httpbin.org/status/200//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: 11

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: e702c371576066d1ca7533f98dc18263a2abfebf
Time: 2017-06-08
Author: rafidteam@gmail.com
File Name: tests/general/InvalidLinkBearTest.py
Class Name: InvalidLinkBearTest
Method Name: test_xml_namespaces


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_redirect_threshold