sobjects/test/unittest_cwxmlparser.py
changeset 10603 65ad6980976e
parent 10591 8e46ed1a0b8a
child 11034 75d752e6daf7
equal deleted inserted replaced
10602:4845012cfc8e 10603:65ad6980976e
    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 datetime import datetime
    19 from datetime import datetime
    20 from urlparse import urlsplit, parse_qsl
    20 
       
    21 from six.moves.urllib.parse import urlsplit, parse_qsl
    21 
    22 
    22 from cubicweb.devtools.testlib import CubicWebTC
    23 from cubicweb.devtools.testlib import CubicWebTC
    23 from cubicweb.sobjects.cwxmlparser import CWEntityXMLParser
    24 from cubicweb.sobjects.cwxmlparser import CWEntityXMLParser
    24 
    25 
    25 orig_parse = CWEntityXMLParser.parse
    26 orig_parse = CWEntityXMLParser.parse