web/test/unittest_views_basecontrollers.py
branchstable
changeset 6875 a166b51d13f8
parent 6796 e70ca9abfc51
child 7244 a918f76441ce
--- 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