1
0
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:
Pablo Hoffman 2011-06-12 02:55:21 -03:00
parent 0d5399d0bf
commit 80b557849a

View File

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