
    %
i                         d dl Z d dlZd dlZd dlZdZ G d dej        j        j                  Z	e
dk    r ej                     dS dS )    Nz/The jscript test worked.
The Python test workedc                       e Zd Zd ZdS )XSLTc                 2   t          j        d          }d|z   }t          j        j                            ||            	 t          |          }	 |                                }|t          k    r)t          dt                     t          d|           |
                                 n# |
                                 w xY w	 	 t          j        |           d S # t          $ r Y d S w xY w# 	 t          j        |           w # t          $ r Y w w xY wxY w)Nz-pycom-testz<cscript //nologo testxslt.js doesnt_matter.xml testxslt.xsl zERROR: XSLT expected output of zbut got )tempfilemktempwin32comtestutilExecuteShellCommandopenreadexpected_outputprintcloseosunlinkOSError)selfoutput_namecmdfgots        C:\Users\Dell Inspiron 16\Desktop\tws\AgrotaPowerBi\back-agrota-powerbi\mcp-client-agrota\venv\Lib\site-packages\win32com/test/testxslt.pytestAllzXSLT.testAll   s4   om44J[X 	 	..sD999	[!!Affhh/))OOOOPPP,S,,---										+&&&&&   	+&&&&   s[    C/ AB- C/ -CC/ C 
C,+C,/D1DD
DDDDN)__name__
__module____qualname__r        r   r   r   
   s#            r   r   __main__)r   r   unittestwin32com.test.utilr   r   r	   r
   TestCaser   r   mainr   r   r   <module>r%      s    				      D    8=&   . zHMOOOOO r   