equal
deleted
inserted
replaced
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() |