Scrapy, a fast high-level web crawling & scraping framework for Python.
fixed some tests accidentally broken in previous commit
Pablo Hoffman48509b036a4c
diff --git a/scrapy/tests/test_command_fetch.py b/scrapy/tests/test_command_fetch.pyindex 2e36c8c6e..5283852b7 100644--- a/scrapy/tests/test_command_fetch.py+++ b/scrapy/tests/test_command_fetch.py@@ -18,6 +18,5 @@ class FetchTest(ProcessTest, SiteTest, unittest.TestCase):def test_headers(self):_, out, _ = yield self.execute([self.url('/text'), '--headers'])out = out.replace('\r', '') # required on win32- headers = eval(out)- assert 'TwistedWeb' in headers['Server'][0]- self.assertEqual(headers['Content-Type'], ['text/plain'])+ assert 'Server: TwistedWeb' in out+ assert 'Content-Type: text/plain' in out