mirror of https://github.com/scrapy/scrapy.git
Add trailing dot
This commit is contained in:
parent
e604c0f3ab
commit
02e1d2b1fd
|
|
@ -92,7 +92,7 @@ class CrawlTestCase(TestCase):
|
|||
crawler = self.runner.create_crawler(SimpleSpider)
|
||||
with LogCapture() as l:
|
||||
# try to fetch the homepage of a non-existent domain
|
||||
yield crawler.crawl("http://dns.resolution.invalid/")
|
||||
yield crawler.crawl("http://dns.resolution.invalid./")
|
||||
self._assert_retried(l)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
|
|
|||
Loading…
Reference in New Issue