Skip to content

Commit

Permalink
selector.__repr__ test, rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
Digenis committed Jul 3, 2014
1 parent d2d014a commit 9ac639a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapy/tests/test_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_simple_selection(self):
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"<p><input name='{}' value='\xa9'/></p>".format(50 * 'b')
response = TextResponse(url="http://example.com", body=body, encoding='utf8')
sel = self.sscls(response)
Expand Down

0 comments on commit 9ac639a

Please sign in to comment.