Uname:Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64

Base Dir : /var/www/moonbloom

User : wp-moonbloom


403WebShell
403Webshell
Server IP : 85.155.190.233  /  Your IP : 216.73.216.103
Web Server : nginx/1.24.0
System : Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User : wp-moonbloom ( 1001)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/gyp/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/gyp/__pycache__/easy_xml_test.cpython-312.pyc
�

�"Kb
���dZddlmZddlZ	ddlmZGd�dej�Ze	dk(rej�yy#e$r	ddlmZY�:wxYw)z& Unit tests for the easy_xml.py file. �N)�StringIOc�0�eZdZd�Zd�Zd�Zd�Zd�Zd�Zy)�TestSequenceFunctionsc�"�t�|_y)N)r�stderr��selfs �3/usr/lib/python3/dist-packages/gyp/easy_xml_test.py�setUpzTestSequenceFunctions.setUps���*�D�K�c��|jtjdg�d�|jtjdgd��d�y)N�testz-<?xml version="1.0" encoding="utf-8"?><test/>zWindows-1252)�encodingz4<?xml version="1.0" encoding="Windows-1252"?><test/>��assertEqual�easy_xml�XmlToStringrs r
�test_EasyXml_simplez)TestSequenceFunctions.test_EasyXml_simplesH��������F�8�$�5�7�	������F�8�n�=�<�>rc�X�|jtjdddd�g�d�y)N�test2�value1�value2)�a�bzD<?xml version="1.0" encoding="utf-8"?><test2 a="value1" b="value2"/>rrs r
�#test_EasyXml_simple_with_attributesz9TestSequenceFunctions.test_EasyXml_simple_with_attributess,��������G�8�(�%C�D�E�L�Nrc��d}d}|jdd�}|jtjdd|i|g�d|�d|�d	��y)
Nz<test>'"
&
fooz%&lt;test&gt;'&quot;&#xD;&amp;&#xA;foo�'z&apos;�test3rz0<?xml version="1.0" encoding="utf-8"?><test3 a="z">z</test3>)�replacerrr)r	�original�	converted�converted_aposs    r
�test_EasyXml_escapingz+TestSequenceFunctions.test_EasyXml_escaping$sO��"�H�8�I��&�&�s�H�5�N�������G�c�8�_�h�?�@��.�"�#rc�d�|jtjddddggdgggd��d�y)	Nr�GrandParent�Parent1�Child�Parent2T)�prettyz�<?xml version="1.0" encoding="utf-8"?>
<test3>
  <GrandParent>
    <Parent1>
      <Child/>
    </Parent1>
    <Parent2/>
  </GrandParent>
</test3>
rrs r
�test_EasyXml_prettyz)TestSequenceFunctions.test_EasyXml_pretty-sL���������
���	���k�	
���	��rc
��d}tjddddiddgdd	gd
dggddd
igdddd�ddgddggg�}|j||�y)Na�<?xml version="1.0" encoding="utf-8"?><Project><PropertyGroup Label="Globals"><ProjectGuid>{D2250C20-3A94-4FB9-AF73-11BC5B73884B}</ProjectGuid><Keyword>Win32Proj</Keyword><RootNamespace>automated_ui_tests</RootNamespace></PropertyGroup><Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"><ConfigurationType>Application</ConfigurationType><CharacterSet>Unicode</CharacterSet></PropertyGroup></Project>�Project�
PropertyGroup�Label�Globals�ProjectGuidz&{D2250C20-3A94-4FB9-AF73-11BC5B73884B}�Keyword�	Win32Proj�
RootNamespace�automated_ui_tests�Importz$$(VCTargetsPath)\Microsoft.Cpp.propsz-'$(Configuration)|$(Platform)'=='Debug|Win32'�
Configuration)�	Conditionr.�ConfigurationType�Application�CharacterSet�Unicode)rrr)r	�target�xmls   r
�test_EasyXml_complexz*TestSequenceFunctions.test_EasyXml_complexDs�����"�
�
�	��W�i�0�
�D�E�
��$�
�2�3��
�i�!H�I�
J��I�%�
'�
 �-�0�
�Y�'�	�
	
��C�	���S�&�!rN)	�__name__�
__module__�__qualname__rrrr#r*r>�rr
rrs!���>�N�
#��.""rr�__main__)�__doc__�gyp.easy_xmlr�unittestr�ImportError�io�TestCaserr?�mainrBrr
�<module>rKs\��-�����
U"�H�-�-�U"�p�z���(�-�-�/���y����s�A�A�A

Youez - 2016 - github.com/yon3zu
LinuXploit