Marc Abramowitz
2014-03-11 0c425da09d966bafd2f4043fa8919f3da4d8abc4
Remove 'b'; WebTest or WebOb doesn't like Python 3 bytes for URLs
1 files modified
4 ■■■■ changed files
pyramid/tests/test_integration.py 4 ●●●● patch | view | raw | blame | history
pyramid/tests/test_integration.py
@@ -652,7 +652,7 @@
        return TestApp(app)
    def test_unicode_in_url_404(self):
        request_path = b'/avalia%C3%A7%C3%A3o_participante/'
        request_path = '/avalia%C3%A7%C3%A3o_participante/'
        request_path_unicode = u'/avalia\xe7\xe3o_participante/'
        config = self._makeConfig()
@@ -662,7 +662,7 @@
        self.assertTrue(request_path_unicode in res.text)
    def test_unicode_in_url_200(self):
        request_path = b'/avalia%C3%A7%C3%A3o_participante'
        request_path = '/avalia%C3%A7%C3%A3o_participante'
        request_path_unicode = u'/avalia\xe7\xe3o_participante'
        def myview(request):