pyramid_cubicweb/tests/test_core.py
changeset 11630 1400aee10df4
parent 11611 9d2bb6bdb5c8
--- a/pyramid_cubicweb/tests/test_core.py	Tue Jun 28 11:03:20 2016 +0200
+++ b/pyramid_cubicweb/tests/test_core.py	Thu Jul 07 14:30:32 2016 +0200
@@ -18,7 +18,7 @@
         request.cw_cnx.execute('SET U login NULL WHERE U login "anon"')
     except ValidationError:
         pass
-    request.response.body = 'OK'
+    request.response.body = b'OK'
     return request.response