Scrapy, a fast high-level web crawling & scraping framework for Python.
Fixed adaptors test
elpolilla4afa29b26a1c
diff --git a/scrapy/trunk/scrapy/tests/test_adaptors.py b/scrapy/trunk/scrapy/tests/test_adaptors.pyindex 63b4d3a1f..745026cd5 100644--- a/scrapy/trunk/scrapy/tests/test_adaptors.py+++ b/scrapy/trunk/scrapy/tests/test_adaptors.py@@ -52,10 +52,10 @@ class AdaptorsTestCase(unittest.TestCase):['lala.com', 'pepe.co.uk', 'das.biz', 'lelelel.net'])def test_unquote_all(self):- self.assertEqual(adaptors.Unquote(keep=[])([u'hello©&welcome', u'<br />&']), [u'hello\xa9&welcome', u'<br />&'])+ self.assertEqual(adaptors.unquote([u'hello©&welcome', u'<br />&'], keep_entities=[]), [u'hello\xa9&welcome', u'<br />&'])def test_unquote(self):- self.assertEqual(adaptors.Unquote()([u'hello©&welcome', u'<br />&']), [u'hello\xa9&welcome', u'<br />&'])+ self.assertEqual(adaptors.unquote([u'hello©&welcome', u'<br />&']), [u'hello\xa9&welcome', u'<br />&'])def test_remove_tags(self):test_data = ['<a href="lala">adsaas<br /></a>', '<div id="1"><table>dsadasf</table></div>']@@ -78,7 +78,7 @@ class AdaptorsTestCase(unittest.TestCase):[1, 2, 5, 6, 'hi'])def test_delist(self):- self.assertEqual(adaptors.Delist()(['hi', 'there', 'fellas.', 'this', 'is', 'my', 'test.']),+ self.assertEqual(adaptors.delist(['hi', 'there', 'fellas.', 'this', 'is', 'my', 'test.']),'hi there fellas. this is my test.')