pyramid_cubicweb/tests/test_bw_request.py
changeset 11611 9d2bb6bdb5c8
parent 11593 73bf8377a3d5
child 11630 1400aee10df4
equal deleted inserted replaced
11610:4cac84a8bf5f 11611:9d2bb6bdb5c8
     1 # -*- coding: utf8 -*-
     1 # -*- coding: utf-8 -*-
     2 from StringIO import StringIO
     2 from StringIO import StringIO
     3 
     3 
     4 import webtest
     4 import webtest
     5 
     5 
     6 import pyramid.request
     6 import pyramid.request
    94         req = CubicWebPyramidRequest(
    94         req = CubicWebPyramidRequest(
    95             self.make_request(
    95             self.make_request(
    96                 '/', POST=params,
    96                 '/', POST=params,
    97                 content_type='application/x-www-form-urlencoded'))
    97                 content_type='application/x-www-form-urlencoded'))
    98         self.assertEqual(u"é", req.form['arg'])
    98         self.assertEqual(u"é", req.form['arg'])
       
    99 
       
   100 
       
   101 if __name__ == '__main__':
       
   102     from unittest import main
       
   103     main()