Add link extractor back to test

This commit is contained in:
Samuel Bartlett 2023-03-31 08:09:02 +00:00
parent 9cbcf7724d
commit 7cb7cf1ad1
1 changed files with 1 additions and 0 deletions

View File

@ -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)],
[