diff options
| author | Marc Abramowitz <marc@marc-abramowitz.com> | 2014-03-11 11:12:13 -0700 |
|---|---|---|
| committer | Marc Abramowitz <marc@marc-abramowitz.com> | 2014-03-11 11:12:13 -0700 |
| commit | a99abf808a15fbc02da4c27ab7d46d03668b62ed (patch) | |
| tree | baa93765cf5c849c0f99ef2ee90a30addba2779f | |
| parent | bc87edd3d8df7c5bd4c8d267c626f4fd22ef7443 (diff) | |
| download | pyramid-a99abf808a15fbc02da4c27ab7d46d03668b62ed.tar.gz pyramid-a99abf808a15fbc02da4c27ab7d46d03668b62ed.tar.bz2 pyramid-a99abf808a15fbc02da4c27ab7d46d03668b62ed.zip | |
test_unicode_in_url_404: Add comment to clarify why request_path_unicode
is expected to be in res.txt
| -rw-r--r-- | pyramid/tests/test_integration.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyramid/tests/test_integration.py b/pyramid/tests/test_integration.py index 0ab18de7a..35648ed38 100644 --- a/pyramid/tests/test_integration.py +++ b/pyramid/tests/test_integration.py @@ -659,6 +659,10 @@ class UnicodeInURLTest(unittest.TestCase): testapp = self._makeTestApp(config) res = testapp.get(request_path, status=404) + + # Pyramid default 404 handler outputs: + # u'404 Not Found\n\nThe resource could not be found.\n\n\n' + # u'/avalia\xe7\xe3o_participante\n\n' self.assertTrue(request_path_unicode in res.text) def test_unicode_in_url_200(self): |
