From 02e1d2b1fd0257a926f438a7758a9e65a0114325 Mon Sep 17 00:00:00 2001 From: Paul Tremberth Date: Thu, 2 Feb 2017 22:28:37 +0100 Subject: [PATCH] Add trailing dot --- tests/test_crawl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_crawl.py b/tests/test_crawl.py index 0c64948fa..d5babdded 100644 --- a/tests/test_crawl.py +++ b/tests/test_crawl.py @@ -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