pyramid_cubicweb/tests/test_bw_request.py
changeset 11611 9d2bb6bdb5c8
parent 11593 73bf8377a3d5
child 11630 1400aee10df4
--- a/pyramid_cubicweb/tests/test_bw_request.py	Tue Mar 22 13:58:38 2016 +0100
+++ b/pyramid_cubicweb/tests/test_bw_request.py	Tue Mar 22 14:01:44 2016 +0100
@@ -1,4 +1,4 @@
-# -*- coding: utf8 -*-
+# -*- coding: utf-8 -*-
 from StringIO import StringIO
 
 import webtest
@@ -96,3 +96,8 @@
                 '/', POST=params,
                 content_type='application/x-www-form-urlencoded'))
         self.assertEqual(u"é", req.form['arg'])
+
+
+if __name__ == '__main__':
+    from unittest import main
+    main()