mirror of https://github.com/scrapy/scrapy.git
Add link extractor back to test
This commit is contained in:
parent
9cbcf7724d
commit
7cb7cf1ad1
|
|
@ -823,6 +823,7 @@ class LxmlLinkExtractorTestCase(Base.LinkExtractorTestCase):
|
|||
<a href="http://example.org/item3.html">Good Link 2</a>
|
||||
"""
|
||||
response = HtmlResponse("http://example.org/index.html", body=html)
|
||||
lx = self.extractor_cls()
|
||||
self.assertEqual(
|
||||
[link for link in lx.extract_links(response)],
|
||||
[
|
||||
|
|
|
|||
Loading…
Reference in New Issue