diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/python/log_body/wsgi.py | 2 | ||||
-rw-r--r-- | test/test_usr1.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/test/python/log_body/wsgi.py b/test/python/log_body/wsgi.py index 9dcb1b0c..0ec07a68 100644 --- a/test/python/log_body/wsgi.py +++ b/test/python/log_body/wsgi.py @@ -2,7 +2,7 @@ def application(environ, start_response): content_length = int(environ.get('CONTENT_LENGTH', 0)) body = bytes(environ['wsgi.input'].read(content_length)) - environ['wsgi.errors'].write(body) + environ['wsgi.errors'].write(body.decode()) environ['wsgi.errors'].flush() start_response('200', [('Content-Length', '0')]) diff --git a/test/test_usr1.py b/test/test_usr1.py index 2b4f394b..204e2e0c 100644 --- a/test/test_usr1.py +++ b/test/test_usr1.py @@ -51,7 +51,6 @@ class TestUSR1(TestApplicationPython): self.search_in_log(r'/usr1', log_new), 'rename new 2' ) - @unittest.skip('not yet') def test_usr1_unit_log(self): self.load('log_body') |