def test_json_to_xmlrpc_1():
    xmlrpc = serialize.json_to_xmlrpc(ex.D_JSON_1)
    assert xmlrpc == ex.D_JSON_1_AS_XMLRPC
    #
    jsn = serialize.xmlrpc_to_json(xmlrpc)
    assert jsn == ex.D_JSON_1
    #
    fat_jsn = serialize.xml_to_json(xmlrpc)
    assert fat_jsn != ex.D_JSON_1
def test_json_to_xmlrpc_2():
    xmlrpc = serialize.json_to_xmlrpc(ex.D_JSON_2)
    assert xmlrpc == ex.D_JSON_2_AS_XMLRPC
    #
    jsn = serialize.xmlrpc_to_json(xmlrpc)
    assert jsn == ex.D_JSON_2