Update sample file references

This commit is contained in:
Eugenio Lacuesta 2019-11-20 09:58:25 -03:00
parent 6f4e84ecf9
commit 6781d2f5b2
No known key found for this signature in database
GPG Key ID: DA3EF2D0913E9810
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ class Base:
escapes_whitespace = False
def setUp(self):
body = get_testdata('link_extractor', 'sgml_linkextractor.html')
body = get_testdata('link_extractor', 'linkextractor.html')
self.response = HtmlResponse(url='http://example.com/index', body=body)
def test_urls_type(self):

View File

@ -111,7 +111,7 @@ class BaseSgmlLinkExtractorTestCase(unittest.TestCase):
class HtmlParserLinkExtractorTestCase(unittest.TestCase):
def setUp(self):
body = get_testdata('link_extractor', 'sgml_linkextractor.html')
body = get_testdata('link_extractor', 'linkextractor.html')
self.response = HtmlResponse(url='http://example.com/index', body=body)
def test_extraction(self):
@ -183,7 +183,7 @@ class RegexLinkExtractorTestCase(unittest.TestCase):
# than it should be.
def setUp(self):
body = get_testdata('link_extractor', 'sgml_linkextractor.html')
body = get_testdata('link_extractor', 'linkextractor.html')
self.response = HtmlResponse(url='http://example.com/index', body=body)
def test_extraction(self):