1eba84da563d3c4a7077d2585bd9257418f785c2,tests/general/InvalidLinkBearTest.py,InvalidLinkBearTest,test_run,#InvalidLinkBearTest#,107
Before Change
http://exampe.com/404
http://example.co.in/404
for line in invalid_file.splitlines():
self.assertResult(invalid_file=[line])
def test_severity(self):
normal_severity_file =
http://httpbin.org/status/404
http://httpbin.org/status/410
After Change
http://httpbin.org/status/503
.splitlines()
with requests_mock.Mocker() as m:
m.add_matcher(custom_matcher)
self.check_line_result_count(InvalidLinkBear(self.section,
Queue()),
invalid_file, [1, 1, 1, 1, 1])
def test_severity(self):
normal_severity_file =
http://httpbin.org/status/404
http://httpbin.org/status/410
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
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
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