devtools/test/data/views.py
branchstable
changeset 8463 a964c40adbe3
parent 8190 2a3c1b787688
equal deleted inserted replaced
8461:8af7c6d86efb 8463:a964c40adbe3
     1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of CubicWeb.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """only for unit tests !"""
    18 """only for unit tests !"""
    19 
    19 
    20 from cubicweb.view import EntityView
    20 from cubicweb.view import EntityView
    21 from cubicweb.selectors import is_instance
    21 from cubicweb.predicates import is_instance
    22 
    22 
    23 HTML_PAGE = u"""<html>
    23 HTML_PAGE = u"""<html>
    24   <body>
    24   <body>
    25     <h1>Hello World !</h1>
    25     <h1>Hello World !</h1>
    26   </body>
    26   </body>