mirror of https://github.com/scrapy/scrapy.git
fixed stats downloadermw test
This commit is contained in:
parent
82ca5e26f5
commit
f0b5892aa5
|
|
@ -34,6 +34,6 @@ class TestDownloaderStats(TestCase):
|
|||
self.assertEqual(stats.get_value('downloader/exception_count', \
|
||||
domain=self.spider.domain_name), 1)
|
||||
|
||||
def tearUp(self):
|
||||
stats.close_domain(self.spider.domain_name)
|
||||
def tearDown(self):
|
||||
stats.close_domain(self.spider.domain_name, '')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue