Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

fixed test broken in previous commit

Pablo Hoffman80b557849a9a
diff --git a/scrapyd/tests/test_environ.py b/scrapyd/tests/test_environ.py
index dd0195e12..f33363713 100644
--- a/scrapyd/tests/test_environ.py
+++ b/scrapyd/tests/test_environ.py
@@ -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)