File: test_clientform.py

package info (click to toggle)
python-scrapy 0.14.4-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,064 kB
  • sloc: python: 19,468; xml: 199; sh: 134; makefile: 67
file content (8 lines) | stat: -rw-r--r-- 219 bytes parent folder | download
1
2
3
4
5
6
7
8
import unittest

from scrapy.xlib import ClientForm

class ClientFormPatchTests(unittest.TestCase):

    def test_patched_unescape_charref(self):
        self.assertEqual(ClientForm.unescape_charref('c', 'utf-8'), 'c')