e702c371576066d1ca7533f98dc18263a2abfebf,tests/general/InvalidLinkBearTest.py,InvalidLinkBearTest,test_xml_namespaces,#InvalidLinkBearTest#,271

Before Change


        xsi:schemaLocation="http://this.namespace.dosent/exists/7.0.0"
        xsi:schemaLocation="http://httpbin.com/404">.splitlines()

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

        info_severity_file = 
        <ruleset name="test" xmlns="http://this.is.a.namespace/ruleset/7.0.0"
        xmlns:xsi="http://this.is.another/kindof/namespace"
        xsi:schemaLocation="http://this.is.a.namespace/ruleset/7.0.0"/>

After Change


        xsi:schemaLocation="http://this.namespace.dosent/exists/7.0.0"
        xsi:schemaLocation="http://httpbin.com/404">.splitlines()

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

            self.check_validity(self.uut, valid_file)

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

        info_severity_file = 
        <ruleset name="test" xmlns="http://this.is.a.namespace/ruleset/7.0.0"
        xmlns:xsi="http://this.is.another/kindof/namespace"
        xsi:schemaLocation="http://this.is.a.namespace/ruleset/7.0.0"/>
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_xml_namespaces


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_pip_vcs_url