equal
deleted
inserted
replaced
3 :organization: Logilab |
3 :organization: Logilab |
4 :copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2. |
4 :copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2. |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
5 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr |
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
6 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
7 """ |
7 """ |
8 from simplejson import loads |
8 try: |
|
9 from json import loads |
|
10 except ImportError: |
|
11 from simplejson import loads |
9 |
12 |
10 from logilab.common.testlib import unittest_main |
13 from logilab.common.testlib import unittest_main |
11 from logilab.mtconverter import html_unescape |
14 from logilab.mtconverter import html_unescape |
12 |
15 |
13 from cubicweb.devtools.testlib import CubicWebTC |
16 from cubicweb.devtools.testlib import CubicWebTC |