Commits

Chris Adams committed b279476

Fix tests to match actual Django URL dispatch

Comments (0)

Files changed (1)

localeurl/tests/tests.py

                 utils.strip_path('/de/about/localeurl/'))
 
     def test_strip_path_with_embedded_newlines(self):
-        self.assertEqual(('en', '/index.html%0D%0Anoise'),
-                         utils.strip_path("/en/index.html%0D%0Anoise"))
-
+        self.assertEqual(('en', '/index.html\r\nnoise'),
+                         utils.strip_path('/en/index.html\r\nnoise'))
 
     def test_strip_path_takes_longer_code_first(self):
         # Refs issue #15.