Closed fliljeda closed 6 years ago
5/6 branches is covered
This is the branch that is never taken
def _link_allowed(self, link):
if not _is_valid_url(link.url):
return False
# rest of function is removed for brevity
did I do good @aeakoski
Add branch coverage for function _link_allowed in file scrapy/linkextractors/init.py