Merge pull request #2421 from rolando-contrib/tests-bug

[MRG+1] TST: Fix duplicated test name.
This commit is contained in:
Elias Dorneles 2016-12-01 18:43:48 -02:00 committed by GitHub
commit c4e67c0696
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class SpiderLoaderTest(unittest.TestCase):
self.spider_loader = SpiderLoader.from_settings(settings)
assert len(self.spider_loader._spiders) == 1
def test_load_spider_module(self):
def test_load_spider_module_multiple(self):
prefix = 'tests.test_spiderloader.test_spiders.'
module = ','.join(prefix + s for s in ('spider1', 'spider2'))
settings = Settings({'SPIDER_MODULES': module})