mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-25 23:23:43 +00:00
fixed test broken in previous commit
This commit is contained in:
parent
0d5399d0bf
commit
80b557849a
@ -31,5 +31,5 @@ class EnvironmentTest(unittest.TestCase):
|
||||
self.assertEqual(env['SCRAPY_JOB'], 'ID')
|
||||
self.assertEqual(env['SCRAPY_CONCURRENT_SPIDERS'], '1')
|
||||
self.assert_(env['SCRAPY_SQLITE_DB'].endswith('mybot.db'))
|
||||
self.assert_(env['SCRAPY_LOG_FILE'].endswith(os.path.join('mybot', 'myspider', 'ID2.log')))
|
||||
self.assert_(env['SCRAPY_LOG_FILE'].endswith(os.path.join('mybot', 'myspider', 'ID.log')))
|
||||
self.failIf('SCRAPY_SETTINGS_MODULE' in env)
|
||||
|
Loading…
x
Reference in New Issue
Block a user