Add trailing dot

This commit is contained in:
Paul Tremberth 2017-02-02 22:28:37 +01:00
parent e604c0f3ab
commit 02e1d2b1fd
1 changed files with 1 additions and 1 deletions

View File

@ -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