Current File : //opt/imh-python/lib/python2.7/test/test_xmlrpc.pyc
�
��Wc@s;ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
mZyddlZWnek
r�dZnXyddlZWnek
r�dZnXi
dd6dd6dOd	6d
d6dgd
6ejd�d6ejd6ejd�d6ejdP�d6ejejdddddd��d6gZejr�edjiejd�d6dejd�6�nd ejfd!��YZd"ejfd#��YZd$ejfd%��YZd&ejfd'��YZd(ejfd)��YZda a!a"ddd*�Z#dd+�Z$d,�Z%ej&ed-�d.ejfd/��Y�Z'd0e'fd1��YZ(d2e'fd3��YZ)d4e'fd5��YZ*d6e'fd7��YZ+d8e+fd9��YZ,d:e+fd;��YZ-ej&ed<�d=e'fd>��Y�Z.d?ejfd@��YZ/dAej0fdB��YZ1ej&ed-�dCejfdD��Y�Z2dEejfdF��YZ3dGdQdH��YZ4dIej5fdJ��YZ6dKejfdL��YZ7ej8dM��Z9e:dNkr7e9�ndS(Ri����N(ttest_supportsfoo@bar.baz.spamtastringgH�zns�@tafloatiitanintlt
ashortlongs.zyx.41tanotherlistsmy dog has fleastabase64tbooleans20050210T11:41:23t	datetime1i�i
ii)iiit	datetime2t	datetime3s\u4000\u6000\u8000tunicodes
regular values
ukey\u4000tXMLRPCTestCasecBs�eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
ejd��Zejd
��Zd�ZRS(cCs1|jttjtjtf��dd�dS(Ni(tassertEqualtalistt	xmlrpclibtloadstdumps(tself((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_dump_load0s	cCs�tjdddddd�}tj|f�}tj|dd�\\}}|j||�|j|d�tj|dd	�\\}}|j|tjd
��dS(Ni�ii
ii)ituse_datetimeiis20050210T11:41:23(tdatetimeRRRR
tNonetDateTime(Rtdttstnewdttm((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_dump_bare_datetime4scCs�tjdddddd�}tj|f�}tj|dd�\\}}|j||�|j|d�tj|dd�\\}}|j|tjd	��dS(
Niii
ii)iRis00010210T11:41:23(RRRRR
RR(RRRRR((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_datetime_before_1900BscCs�tjj�}tj|j��}|j||k�|j||k�|tjdd�}|j||k�|j||k�dS(Ntsecondsi(RtnowRRt	timetuplet
assertTruet	timedelta(RRRtthen((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_cmp_datetime_DateTimeMscCsutj�}tjtj|fdt��\\}}|j|jt�tj|fdt�}|j|t�dS(Ntmethodresponse(RRRRtTruetassertIsInstancetvaluetstr(Rtdtnew_dtdummyR((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_bug_1164912VscCsldtfd��Y}|�}d|_d|_tjtj|f��\\}}|j||j�dS(NtTcBseZRS((t__name__t
__module__(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR.asidtHello(tobjecttxtyRRRR
t__dict__(RR.tttt2R,((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_newstyle_class`s			$cCs|jttjd�dS(Nlicl(l(tassertRaisest
OverflowErrorRR(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_dump_big_longiscCs$|jttjidd6f�dS(Niii(iii(R9t	TypeErrorRR(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_dump_bad_dictlscCsKdddg}ddd|g}|j|�|jttj|f�dS(Niiiii(tappendR9R<RR(RtlR6((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_dump_recursive_seqos
cCsOidd6dd6}idd6|d6}||d<|jttj|f�dS(Nit1t2it3R*R6(R9R<RR(RR*R6((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_dump_recursive_dictus
cCs	tjdkr1|jttjtd�f�ntjtjtjf�|jttjtjdf�|jttjtjdf�d�}tj	�}|j
tj|�|j
tj|�|jt|j
tjd|�|jt|j
tjd|�dS(	Nliii"cSsdS(N((R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pytdummy_write�sll��l(tsystmaxintR9R:RRtinttMAXINTtMININTt
Marshallertdump_int(RRER((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_dump_big_int{s  	 cCsptdg}tdgf}tj|dt�}|j|tj|�dd�|jttj|f�dS(Nt
allow_nonei(	RRRRR&R
RR9R<(RR(targ1tstrg((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_dump_none�s
	cCsitjd�tjd�6}tj|fdd�}d|}|jtj|�dd|�tj|fdddt�}|jtj|�dd|�tjd�}tj|fddd	|�}|jtj|�dd|�|jtj|�d
|�dS(Nsvalue\u20ac\xa4s
key\u20ac\xa4tencodingsiso-8859-15s,<?xml version='1.0' encoding='iso-8859-15'?>iR%smethod\u20ac\xa4t
methodnamei(RtuRRR
RR&(RR(RPRS((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_dump_encoding�s
!	!	!c	Csd}tj�}tjd��Nddl}|jd�ztj|�\\}}}Wd|j|�XWdQX|j�}tjr�|j	|d�|j
|t�|j	|d
g�|j
|ddt�|j
|dd	t�n#|j	|d
�|j	|dg�dS(Ns)<?xml version='1.0' encoding='iso-8859-1'?>
                  <params>
                    <param><value>
                      <string>abc �</string>
                      </value></param>
                    <param><value>
                      <struct>
                        <member>
                          <name>def �</name>
                          <value><string>ghi �</string></value>
                          </member>
                        </struct>
                      </value></param>
                  </params>
                  RFi����s
iso-8859-1uabc •udef –ughi —iisabc •sdef –sghi —(udef –ughi —(sdef –sghi —(RFtgetdefaultencodingRtCleanImporttsetdefaultencodingRRtitemsthave_unicodeR
R'R(Rtutf8told_encodingttemp_sysRR*RRY((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_default_encoding_issues�s"
	cCsatj}d}|j|tj|�d}|j|tj|�d}|j|tj|�dS(Ns6<params><param><value><spam/></value></param></params>sT<params><param><value><array><value><spam/></value></array></value></param></params>s�<params><param><value><struct><member><name>a</name><value><spam/></value></member><member><name>b</name><value><spam/></value></member></struct></value></param></params>(Rt
ResponseErrorR9R(RR_tdata((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_loads_unsupported�s	(R/R0RRRR$R-R8R;R=R@RDRMRQRtrequires_unicodeRUR^Ra(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR.s						
								+tHelperTestCasecBseZd�ZRS(cCsO|jtjd�d�|jtjd�d�|jtjd�d�dS(Nsa&bsa&amp;bsa<bsa&lt;bsa>bsa&gt;b(R
Rtescape(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_escape�s(R/R0Re(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRc�st
FaultTestCasecBseZd�Zd�ZRS(cCsHtjdd�}|jt|�d�|jt|�t|��dS(Ni*s
Test Faults<Fault 42: 'Test Fault'>(RtFaultR
treprR)(Rtf((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt	test_repr�scCs�tjdd�}tj|f�}tj|�\\}}|j|idd6dd6�|j|d�tj�j|�}|jtjtj|�dS(Ni*s
Test Faultt	faultCodetfaultString(RRgRRR
RRKR9(RRiRtnewfR((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_dump_fault�s(R/R0RjRn(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRf�s	tDateTimeTestCasecBsGeZd�Zd�Zd�Zd�Zd�Zd�Zd�ZRS(cCstj�}dS(N(RR(RR6((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_default�scCsDd}tj|�}|jt|�tjdtj|���dS(Ngl]�ޮ��As%Y%m%dT%H:%M:%S(RRR
R)ttimetstrftimet	localtime(RR*R6((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt	test_time�sc	Cs/d}tj|�}|jt|�d
�dS(Ni�ii	i
i&i2ii�is20070609T10:38:50(	i�ii	i
i&i2ii�i(RRR
R)(RR*R6((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_time_tuplescCsDtjd�}tj|�}|jt|�tjd|��dS(Ngl]�ޮ��As%Y%m%dT%H:%M:%S(RqRsRRR
R)Rr(RR*R6((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_time_structscCsGtjdddddd�}tj|�}|jt|�d�dS(Ni�iiiiis20070102T03:04:05(RRRR
R)(RR*R6((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_datetime_datetimescCsWtjdddddd�}tj|�}dt|�}|jt|�|�dS(Ni�iiiiis$<DateTime '20070102T03:04:05' at %x>(RRRtidR
Rh(RR*R6tval((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRjscCsyd}tj�}|j|�tjtjdddddd��}|j||�tj|�}|j||�dS(Ns 20070908T07:11:13  i�i	iiii
(RRtdecodeRR
t	_datetime(RR*tt1ttrefR7((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_decodes
'(	R/R0RpRtRuRvRwRjR~(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRo�s						tBinaryTestCasecBs#eZd�Zd�Zd�ZRS(cCs&tj�}|jt|�d�dS(Nt(RtBinaryR
R)(RR6((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRp"scCs/d}tj|�}|jt|�|�dS(Nsabc123��(RR�R
R)(RR*R6((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_string&scCsmd}tj|�}tj�}|j|�|jt|�|�tj|�}|jt|�|�dS(Nsabc123��(tbase64tencodestringRR�RzR
R)t_binary(RR*tdeR|R7((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR~+s
(R/R0RpR�R~(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR!s		c	Cs�ddd��Y}d�}dtjfd��Y}|sGtj}n|d|d|d	td
t�}zy�|jjd�|j�|jj�\aadttfa	|j
�|j�|j�|j
t�|j
d
�d�|j
d�tjd��|j
|�|j|��|j�x$|dkrT|j�|d8}q1WWntjk
rlnXWd|jj�da|j�XdS(NtTestInstanceClasscBseZd�Zd�ZRS(cSs||S(N((RR3R4((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pytdiv=scSs|dkrdSdS(NR�sThis is the div function((Rtname((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt_methodHelp@s(R/R0R�R�(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�<s	cSstS(sThis is my function(R&(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pytmy_functionDstMyXMLRPCServercBseZd�ZRS(cSs,|jj�\}}|jt�||fS(N(tsockettaccepttsetblockingR&(RRtport((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pytget_requestIs
(R/R0R�(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�Hst	localhostiRRtlogRequeststbind_and_activateishttp://%s:%dcSs||S(N((R3R4((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt<lambda>cstaddcSs|S(N((R3((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�dsst\xea\u0161ti((R�i(tSimpleXMLRPCServertSimpleXMLRPCRequestHandlertFalseR�t
settimeouttserver_bindtgetsocknametADDRtPORTtURLtserver_activatet register_introspection_functionstregister_multicall_functionstregister_functiontpowRRTtregister_instancetsetthandle_requestttimeouttcloseR(tevttnumrequeststrequestHandlerRRR�R�R�tserv((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pythttp_server;s>	








cCs�ddd��Y}d�}dtjfd��Y}|sGtj}nd|fd��Y}|d|d
tdt�}|jjd�|j�zy�|jj�\aa	d
tt	fa
|j�ddg}x:|D]2}	|j|	tj
��}
|
j�|
j�q�W|j|d	�jt�|j|d�jd�d�|j�x$|d	krz|j�|d8}qWWWntjk
r�nXWd|jj�da	|j�XdS(NR�cBseZd�Zd�ZRS(cSs||S(N((RR3R4((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�wscSs|dkrdSdS(NR�sThis is the div function((RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�zs(R/R0R�R�(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�vs	cSstS(sThis is my function(R&(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�~sR�cBseZd�ZRS(cSs,|jj�\}}|jt�||fS(N(R�R�R�R&(RRR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR��s
(R/R0R�(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR��stMyRequestHandlercBseZgZRS((R/R0t	rpc_paths(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR��sR�iR�R�ishttp://%s:%ds/foos/foo/baricSs||S(N((R3R4((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR��sR�((s	localhosti(R�tMultiPathXMLRPCServerR�R�R�R�R�R�R�R�R�R�tadd_dispatchertSimpleXMLRPCDispatcherR�R�tget_dispatcherR�R�R�R�R�R�R(R�R�R�R�R�R�R�R�tpathstpathR*((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pythttp_multi_serverus>	



 


cCsxy8|jdks!|jdkr%tS|jjd�}Wntk
rWt|�}nX|rtd|j�krttStS(s�Returns True if the given ProtocolError is the product of a server-side
       exception caused by the 'temporarily unavailable' response sometimes
       given by operations on non-blocking sockets.i����sX-exceptionstemporarily unavailableN(	terrcodetheadersRR&tgettAttributeErrorR)tlowerR�(tetexc_mess((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pytis_unavailable_exception�s
s!Threading required for this test.tBaseServerTestCasecBs2eZdZdZee�Zd�Zd�Z	RS(icCssttj_tj�|_|j|j|jf}tjd|j	d|�j
�|jjd�|jj�dS(Nttargettargsi
(
R&R�t_send_traceback_headert	threadingtEventR�t
request_countR�tThreadt
threadFunctstarttwaittclear(Rt	serv_args((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pytsetUp�scCs |jjd�ttj_dS(Ni
(R�R�R�R�R�(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttearDown�sN(
R/R0RR�R�tstaticmethodR�R�R�R�(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR��s
	
tSimpleServerTestCasecBs�eZd�Zejd��Zejd��Zejd��Zejd��Zd�Z	d�Z
d�Zej
ejjdkd	�d
��Zd�Zd�Zd
�Zd�Zd�ZRS(cCs�y/tjt�}|j|jdd�d�WnQtjtjfk
r�}t|�s�|j	d|t
|dd�f�q�nXdS(Niis%s
%sR�R�i�(RtServerProxyR�R
R�t
ProtocolErrorR�terrorR�tfailtgetattr(RtpR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_simple1�s cCs�tjd�}tjd�}y3tjt�}|j|j||�||�WnQtjtj	fk
r�}t
|�s�|jd|t|dd�f�q�nXdS(Ns*P\N{LATIN SMALL LETTER Y WITH CIRCUMFLEX}ts$h\N{LATIN SMALL LETTER O WITH HORN}ns%s
%sR�R�(
RRTRR�R�R
R�R�R�R�R�R�R�(Rtstart_stringt
end_stringR�R�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt
test_nonascii�scCs9tjdttf�}|j|jdd�d�dS(Nuhttp://%s:%d/RPC2tauéuaé(RR�R�R�R
R�(Rtserver((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_unicode_hostscCs�td�}td�}y9tjtdd�}|j|j||�||�WnQtjtjfk
r�}t	|�s�|j
d|t|dd�f�q�nXdS(Ni� i�RRsiso-8859-15s%s
%sR�R�(tunichrRR�R�R
R�R�R�R�R�R�R�(RR�R�R�R�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_client_encodingscCs�y>tjtdd�}t|d�}|j|d�d�WnQtjtjfk
r�}t|�s�|j	d|t|dd�f�q�nXdS(NRRsiso-8859-15st�ti*s%s
%sR�R�(
RR�R�R�R
R�R�R�R�R�(RR�RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_nonascii_methodnamescCsbtjtt�}|jdd�|j�}|j�|j|jd�|j|j	d�dS(NtPOSTs/this-is-not-validi�s	Not Found(
thttplibtHTTPConnectionR�R�trequesttgetresponseR�R
tstatustreason(Rtconntresponse((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pytXXXtest_404"s
c
Cs�yhtjt�}|jj�}tddddtjd�dddd	g	�}|jt|�|�WnQtj	t
jfk
r�}t|�s�|j
d
|t|dd�f�q�nXdS(
NR�R�R�R�st\xea\u0161tssystem.listMethodsssystem.methodHelpssystem.methodSignaturessystem.multicalls%s
%sR�R�(RR�R�tsystemtlistMethodsR�RRTR
R�R�R�R�R�R�(RR�tmethtexpected_methodsR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_introspection1-scCs�y5tjt�}|jjd�}|j|d�WnQtjtjfk
r�}t	|�s�|j
d|t|dd�f�q�nXdS(NR�sThis is the div functions%s
%sR�R�(RR�R�R�t
methodHelpR
R�R�R�R�R�R�(RR�tdivhelpR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_introspection2<sis)Docstrings are omitted with -O2 and abovecCs�y5tjt�}|jjd�}|j|d�WnQtjtjfk
r�}t	|�s�|j
d|t|dd�f�q�nXdS(NR�sThis is my functions%s
%sR�R�(RR�R�R�R�R
R�R�R�R�R�R�(RR�t
myfunctionR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_introspection3HscCs�y5tjt�}|jjd�}|j|d�WnQtjtjfk
r�}t	|�s�|j
d|t|dd�f�q�nXdS(NR�ssignatures not supporteds%s
%sR�R�(RR�R�R�tmethodSignatureR
R�R�R�R�R�R�(RR�tdivsigR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_introspection4VscCs�y�tjt�}tj|�}|jdd�|jdd�|jdd�|�\}}}|j|d
�|j|d�|j|d�WnQtjt	j
fk
r�}t|�s�|jd|t
|dd	�f�q�nXdS(
Niiiiii*s%s
%sR�R�ii�i(RR�R�t	MultiCallR�R�R�R
R�R�R�R�R�R�(RR�t	multicallt
add_resultt
pow_resultt
div_resultR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_multicallcscCs�yktjt�}tj|�}|j�|�}|j|jddd�|j|jddd�WnQtjtj	fk
r�}t
|�s�|jd|t|dd�f�q�nXdS(	NiRkiRlsJ<type 'exceptions.Exception'>:method "this_is_not_exists" is not supporteds%s
%sR�R�(
RR�R�R�tthis_is_not_existsR
tresultsR�R�R�R�R�R�(RR�R�tresultR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_non_existing_multicallts
	cCs@|jttjtd�|jtjtd��|j�dS(Nt__addttitle(R9R�R�tresolve_dotted_attributeR)R!R�(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_dotted_attribute�s	cCs0tjtt�}|jdd�|j�dS(NR�s*/RPC2 HTTP/1.0
Content-Length: 100

bye(R�R�R�R�R�R�(RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_partial_post�s(R/R0R�RRbR�R�R�R�R�R�R�tunittesttskipIfRFtflagstoptimizeR�R�R�RRR(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR��s	

			
	
			
tSimpleServerEncodingTestCasecBs/eZeddd��Zejd��ZRS(cCst|||d�dS(Nsiso-8859-15(R�(R�R�R�RR((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR��scCs�td�}td�}y3tjt�}|j|j||�||�WnQtjtjfk
r�}t	|�s�|j
d|t|dd�f�q�nXdS(Ni� i�s%s
%sR�R�(R�RR�R�R
R�R�R�R�R�R�R�(RR�R�R�R�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_server_encoding�sN(R/R0R�RR�RRbR(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�stMultiPathServerTestCasecBs,eZee�ZdZd�Zd�ZRS(icCsOtjtd�}|j|jdd�d�|jtj|jdd�dS(Ns/fooiii�(RR�R�R
R�R9RgR�(RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt
test_path1�scCsOtjtd�}|j|jdd�d�|jtj|jdd�dS(Ns/foo/bariii(RR�R�R
R�R9RgR�(RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt
test_path2�s(R/R0R�R�R�R�RR(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR
�s	tBaseKeepaliveServerTestCasecBs0eZdejfd��YZeZd�ZRS(tRequestHandlercBs/eZejZdZgZd�Zd�ZRS(sHTTP/1.1cCs6|jjg�t|j�d|_|jj|�S(Ni(t
myRequestsR>tlentreqidxtparentClassthandle(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�scCs0|jj|�}|j|jj|j�|S(N(Rthandle_one_requestRRR>traw_requestline(RR((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�s(	R/R0R�R�Rtprotocol_versionRRR(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�s
		cCsg|j_tj|�S(N(RRR�R�(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR��s(R/R0R�R�RR�R�(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�s
tKeepaliveServerTestCase1cBseZd�ZRS(cCs�tjt�}|j|jdd�d�|j|jdd�d�|j|jdd�d�|jt|jj�d�|jt|jjd�d�dS(	Niiii����ii�i�i�(	RR�R�R
R�RRRtassertGreaterEqual(RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_two�s(R/R0R(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�stKeepaliveServerTestCase2cBs eZdZd�Zd�ZRS(icCs$tjt�}|j|jdd�d�|j|jdd�d�|j|jdd�d	�|d��|j|jdd�d
�|j|jdd�d�|j|jdd�d�|jt|jj�d�|jt|jjd�d�|jt|jjd�d�dS(
NiiR�ii����i����i�i�i�i�i�i�(	RR�R�R
R�RRRR(RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt
test_close�s
 cCswtjt�}|j|jdd�d�|d�j�|j|jdd�d�|jt|jj�d�dS(Niit	transportii�i�(	RR�R�R
R�R�RRR(RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_transport�s
(R/R0R�RR (((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�s	sgzip not availabletGzipServerTestCasecBsmeZdejfd��YZeZdejfd��YZd�Zd�Z	d�Z
d�Zd�ZRS(	RcBs eZejZdZd�ZRS(sHTTP/1.1cCs)t|jd�|j_|jj|�S(Nscontent-length(RHR�t	__class__tcontent_lengthRtdo_POST(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR$s(R/R0R�R�RRR$(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRs	t	TransportcBs eZeZd�Zd�ZRS(cCs.t|jdd��|_tjj||�S(Nscontent-lengthi(RHt	getheadertresponse_lengthRR%tparse_response(RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR(scCs2|jr|jdd�ntjj|||�S(NsContent-Encodingtgzip(t	fake_gzipt	putheaderRR%tsend_content(Rt
connectiontbody((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR,s	(R/R0R�R*R(R,(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR%s	cCstj|�dS(N(R�R�(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�scCs�|j�}d|_tjtd|�}|j|jdd�d�|jj	}d|_|j|jdd�d�|jj	}|j
||k�dS(NRiiii�i�(R%Rtencode_thresholdRR�R�R
R�RR#R!(RR6R�R�tb((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_gzip_request"s		cCsr|j�}d|_t|_tjtd|�}|jtj	t
jd��}|�|jdd�WdQXdS(NRs\b400\bii(
R%RR/R&R*RR�R�tassertRaisesRegexpR�tretcompileR�(RR6R�tcm((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_bad_gzip_request-s		cCs�|j�}tjtd|�}|jj}d|j_|j|jdd�d�|j	}d|j_|j|jdd�d�|j	}||j_|j
||k�dS(NRiiii�i�(R%RR�R�R�R/RR
R�R'R!(RR6R�toldR�R0((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_gzip_response7s		cCs�d	}d|}tj|�}tj|�}|jt|�|�d|d}tj|�}|jtd��tj|�WdQXtj|dd�dS(
Niitis#max gzipped payload length exceededt
max_decodei����iPi@(Rtgzip_encodetgzip_decodeR
RR2t
ValueError(Rtmax_gzip_decodeR`tencodedtdecoded((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_gzip_decode_limitDs
	
(
R/R0R�R�RR�RR%R�R1R6R8RA(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR!s
			
	
tServerProxyTestCasecBs#eZd�Zd�Zd�ZRS(cCs/tjj|�tr"t|_n	d|_dS(Nshttp://(RtTestCaseR�R�R�turl(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�WscCs/tj|j�}|j|d��d�dS(NR�(RR�RDR
R(RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRascCs>tj�}tj|jd|�}|j|d�|�dS(NR(RR%R�RDR
(RR6R�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR es(R/R0R�RR (((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRBVs	
	tFailingMessageClasscBseZd�ZRS(cCs/|j�}|dkrdStjj||�S(Nscontent-lengthsI am broken(R�t	mimetoolstMessaget__getitem__(Rtkey((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRHms(R/R0RH(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRElstFailingServerTestCasecBs5eZd�Zd�Zd�Zd�Zd�ZRS(cCsXtj�|_|jdf}tjdtd|�j�|jj�|jj�dS(NiR�R�(R�R�R�R�R�R�R�R�(RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�vs

cCs,|jj�ttj_tjtj_dS(N(	R�R�R�R�R�RFRGR�tMessageClass(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR��s
cCs�tjj}|j|t�ttj_y/tjt�}|j|jdd�d�WnQtj	t
jfk
r�}t|�s�|j
d|t|dd�f�q�nXdS(Niis%s
%sR�R�i�(R�R�R
R�R&RR�R�R�R�R�R�R�R�R�(RtflagvalR�R�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt
test_basic�s cCs�ttj_y#tjt�}|jdd�Wn|tjt	j
fk
r�}t|�r�t|d�r�|j
|jjd�dk�|j
|jjd�dk�q�nX|jd�dS(NiiR�sX-exceptionsX-tracebacksProtocolError not raised(RER�R�RKRR�R�R�R�R�R�R�thasattrR!R�R�RR�(RR�R�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_fail_no_info�s&cCs�ttj_ttj_y#tjt�}|j	dd�Wntj
tjfk
r�}t
|�r�t|d�r�d}|j|jjd�|�|j|jjd�dk	�q�nX|jd�dS(NiiR�s5invalid literal for int() with base 10: 'I am broken'sx-exceptionsx-tracebacksProtocolError not raised(RER�R�RKR&R�RR�R�R�R�R�R�R�RNR
R�R�R!RR�(RR�R�texpected_err((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_fail_with_info�s&(R/R0R�R�RMRORQ(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRJts
	
			tCGIHandlerTestCasecBs,eZd�Zd�Zd�Zd�ZRS(cCstj�|_dS(N(R�tCGIXMLRPCRequestHandlertcgi(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR��scCs
d|_dS(N(RRT(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR��sc	Cs�tj���}d|d<tj��}|jj�WdQX|jd�|j�}|j�d}dj|j�dd!�}|j	|d�|j	|d	�WdQXdS(
NtGETtREQUEST_METHODiit iit400sBad Request(
RtEnvironmentVarGuardtcaptured_stdoutRTR�tseektreadtsplittjoinR
(Rtenvtdata_outRR�tmessage((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_cgi_get�s

cCsd}tj��n}tj��Y}tj��D}|j|�|jd�tt|��|d<|jj	�WdQXWdQXWdQX|jd�|j
�}|jtj
tj|d�||jd�}|jttjd|�jd��t|��dS(Nsw<?xml version='1.0'?>
        <methodCall>
            <methodName>test_method</methodName>
            <params>
                <param>
                    <value><string>foo</string></value>
                </param>
                <param>
                    <value><string>bar</string></value>
                </param>
            </params>
        </methodCall>
        itCONTENT_LENGTHi,s<?xmlsContent-Length: (\d+)i(RRYRZtcaptured_stdintwriteR[R)RRTR�R\R9RRgRtfindR
RHR3tsearchtgroup(RR`R_R`tdata_inRtcontent((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyttest_cgi_xmlrpc_response�s



(R/R0R�R�RbRk(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRR�s			t
FakeSocketcBsDeZd�Zd�Zd�Zd�Zddd�Zd�ZRS(cCstj�|_dS(N(tStringIOR`(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt__init__scCs|jj|�t|�S(N(R`ReR(Rtbuf((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pytsendscCs|jj|�dS(N(R`Re(RRo((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pytsendallscCs
|jj�S(N(R`tgetvalue(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRrstri����cCs
t�dS(N(tRuntimeError(RR3R4((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pytmakefilescCsdS(N((R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�s(R/R0RnRpRqRrRuR�(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRls				t
FakeTransportcBseZdZd�ZRS(s�A Transport instance that records instead of sending a request.

    This class replaces the actual socket used by httplib with a
    FakeSocket object that records the request.  It doesn't provide a
    response.
    cCs,tjj||�}t�|_|_|S(N(RR%tmake_connectionRltsocktfake_socket(RthostR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRws(R/R0t__doc__Rw(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyRvstTransportSubclassTestCasecBs5eZd�Zd�Zd�Zd�Zd�ZRS(cCsT|�}tjdd|�}y|jdd�Wntk
rO|jj�SXdS(s0Return an HTTP request made via transport_class.shttp://example.com/RiiN(RR�R�RtRyRrR(Rttransport_classRtproxy((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt
issue_request&s		
cCs9dtfd��Y}|j|�}|jd|�dS(Nt
TestTransportcBseZd�ZRS(cSs'tjj||�|jdd�dS(NsX-Testttest_custom_user_agent(RR%tsend_user_agentR+(RR�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�4s(R/R0R�(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�2ss X-Test: test_custom_user_agent
(RvRtassertIn(RR�treq((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�1scCs9dtfd��Y}|j|�}|jd|�dS(NR�cBseZd�ZRS(cSs*tjj|||�|jdd�dS(NsX-Testttest_send_host(RR%t	send_hostR+(RR�Rz((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�>s(R/R0R�(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�<ssX-Test: test_send_host
(RvRR�(RR�R�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�;scCs9dtfd��Y}|j|�}|jd|�dS(NR�cBseZd�ZRS(cSs-tjj||||�|jdd�dS(NsX-Testttest_send_request(RR%tsend_requestR+(RR�RDR.((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�Hs(R/R0R�(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�FssX-Test: test_send_request
(RvRR�(RR�R�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�EscCs9dtfd��Y}|j|�}|jd|�dS(NR�cBseZd�ZRS(cSs*|jdd�tjj|||�dS(NsX-Testttest_send_content(R+RR%R,(RR�R.((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR,Rs(R/R0R,(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�PssX-Test: test_send_content
(RvRR�(RR�R�((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR�Os(R/R0RR�R�R�R�(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyR|$s
		
	
	
cCs�ttttttg}|jt�|jt�|jt	�|jt
�|jt�|jt�|jt
�|jt�|jt�tj|�dS(N(RRcRoRRfR|R>R�RRRR!R
RBRJRRRtrun_unittest(txmlrpc_tests((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt	test_mainYs	








t__main__i(	i�ii
ii)iiii����((;R�RRFRqRRR�RFR�R�RmtosR3ttestRR�tImportErrorRR)R�R�RRRZtupdateRTRCRRcRfRoRR�R�R�R�R�R�t
skipUnlessR�R�RR
RRRR!RBRGRERJRRRlR%RvR|treap_threadsR�R/(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_xmlrpc.pyt<module>s�







(	
�(:>	 �QJC
5