Add test for urldecode()
authorEmil Mikulic <emikulic@gmail.com>
Mon, 26 May 2014 12:01:22 +0000 (22:01 +1000)
committerEmil Mikulic <emikulic@gmail.com>
Mon, 26 May 2014 12:01:22 +0000 (22:01 +1000)
devel/test.py

index db2496f..07b3501 100755 (executable)
@@ -202,6 +202,9 @@ class TestFileGet(TestHelper):
     def test_file_get(self):
         self.get_helper(self.url)
 
+    def test_file_get_urldecode(self):
+        self.get_helper(''.join(['%%%02x' % ord(x) for x in self.url]))
+
     def test_file_get_redundant_dots(self):
         self.get_helper("/././." + self.url)