[test] use unicode for rql queries (7/7)
authorJulien Cristau <julien.cristau@logilab.fr>
Tue, 08 Sep 2015 17:15:03 +0200
changeset 10660 97f6b3d655fc
parent 10659 5b670cb3ae00
child 10661 e6eb0c7c2e98
[test] use unicode for rql queries (7/7) Closes #6694446
web/test/unittest_views_csv.py
--- a/web/test/unittest_views_csv.py	Tue Sep 08 16:28:55 2015 +0200
+++ b/web/test/unittest_views_csv.py	Tue Sep 08 17:15:03 2015 +0200
@@ -36,8 +36,8 @@
         """Should return the CSV header.
         """
         with self.admin_access.web_request() as req:
-            rset = req.execute('Any GN,COUNT(X) GROUPBY GN ORDERBY GN '
-                               'WHERE X in_group G, G name GN, X login "Miles"')
+            rset = req.execute(u'Any GN,COUNT(X) GROUPBY GN ORDERBY GN '
+                                'WHERE X in_group G, G name GN, X login "Miles"')
             data = self.view('csvexport', rset, req=req)
             self.assertEqual(req.headers_out.getRawHeaders('content-type'),
                              ['text/comma-separated-values;charset=UTF-8'])