sobjects/test/unittest_cwxmlparser.py
changeset 8694 d901c36bcfce
parent 8435 5064b6e0d6f4
child 8696 0bb18407c053
equal deleted inserted replaced
8693:a6ca96ec8693 8694:d901c36bcfce
    14 # details.
    14 # details.
    15 #
    15 #
    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 
    18 
    19 from __future__ import with_statement
       
    20 
       
    21 from datetime import datetime
    19 from datetime import datetime
    22 
    20 
    23 from cubicweb.devtools.testlib import CubicWebTC
    21 from cubicweb.devtools.testlib import CubicWebTC
    24 
       
    25 from cubicweb.sobjects.cwxmlparser import CWEntityXMLParser
    22 from cubicweb.sobjects.cwxmlparser import CWEntityXMLParser
    26 
    23 
    27 orig_parse = CWEntityXMLParser.parse
    24 orig_parse = CWEntityXMLParser.parse
    28 
    25 
    29 def parse(self, url):
    26 def parse(self, url):