Scrapy, a fast high-level web crawling & scraping framework for Python.
[Test] Rename outdated sample files
Eugenio Lacuestab602c61e1cc0
diff --git a/tests/sample_data/link_extractor/sgml_linkextractor.html b/tests/sample_data/link_extractor/linkextractor.htmlsimilarity index 100%rename from tests/sample_data/link_extractor/sgml_linkextractor.htmlrename to tests/sample_data/link_extractor/linkextractor.htmldiff --git a/tests/sample_data/link_extractor/sgml_linkextractor_no_href.html b/tests/sample_data/link_extractor/linkextractor_no_href.htmlsimilarity index 100%rename from tests/sample_data/link_extractor/sgml_linkextractor_no_href.htmlrename to tests/sample_data/link_extractor/linkextractor_no_href.htmldiff --git a/tests/test_http_response.py b/tests/test_http_response.pyindex 6d3c5cb9d..0ae1612b5 100644--- a/tests/test_http_response.py+++ b/tests/test_http_response.py@@ -250,12 +250,12 @@ class BaseResponseTest(unittest.TestCase):yield reqdef _links_response(self):- body = get_testdata('link_extractor', 'sgml_linkextractor.html')+ body = get_testdata('link_extractor', 'linkextractor.html')resp = self.response_class('http://example.com/index', body=body)return respdef _links_response_no_href(self):- body = get_testdata('link_extractor', 'sgml_linkextractor_no_href.html')+ body = get_testdata('link_extractor', 'linkextractor_no_href.html')resp = self.response_class('http://example.com/index', body=body)return resp