From 9ac639abd323793999bae41bf43fbe1ba08bb2c4 Mon Sep 17 00:00:00 2001 From: Nikolaos-Digenis Karagiannis Date: Thu, 3 Jul 2014 13:04:37 +0300 Subject: [PATCH] selector.__repr__ test, rename method --- scrapy/tests/test_selector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/tests/test_selector.py b/scrapy/tests/test_selector.py index 9533bfbd2..97639d269 100644 --- a/scrapy/tests/test_selector.py +++ b/scrapy/tests/test_selector.py @@ -36,7 +36,7 @@ class SelectorTestCase(unittest.TestCase): self.assertEqual([x.extract() for x in sel.xpath("concat(//input[@name='a']/@value, //input[@name='b']/@value)")], [u'12']) - def test_representation(self): + def test_representation_slice(self): body = u"

".format(50 * 'b') response = TextResponse(url="http://example.com", body=body, encoding='utf8') sel = self.sscls(response)