[test] missing future imports stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 21 Jan 2011 16:38:13 +0100
branchstable
changeset 6875 a166b51d13f8
parent 6874 611aa2074a5b
child 6876 4b0b9d8207c5
[test] missing future imports
web/test/unittest_application.py
web/test/unittest_views_basecontrollers.py
--- a/web/test/unittest_application.py	Fri Jan 21 14:14:30 2011 +0100
+++ b/web/test/unittest_application.py	Fri Jan 21 16:38:13 2011 +0100
@@ -17,6 +17,8 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """unit tests for cubicweb.web.application"""
 
+from __future__ import with_statement
+
 import base64, Cookie
 import sys
 from urllib import unquote
--- a/web/test/unittest_views_basecontrollers.py	Fri Jan 21 14:14:30 2011 +0100
+++ b/web/test/unittest_views_basecontrollers.py	Fri Jan 21 16:38:13 2011 +0100
@@ -17,6 +17,8 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """cubicweb.web.views.basecontrollers unit tests"""
 
+from __future__ import with_statement
+
 from logilab.common.testlib import unittest_main, mock_object
 
 from cubicweb import Binary, NoSelectableObject, ValidationError