403Webshell
Server IP : 159.223.102.202  /  Your IP : 216.73.216.195
Web Server : nginx/1.26.0
System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User : albasshbotta ( 1021)
PHP Version : 8.2.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python3/dist-packages/twisted/names/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/twisted/names/test/__pycache__/test_resolve.cpython-312.pyc
�

M��eA��B�dZddlmZddlmZddlmZGd�de�Zy)z%
Tests for L{twisted.names.resolve}.
�)�DomainError)�
ResolverChain)�TestCasec� �eZdZdZdd�Zdd�Zy)�ResolverChainTestsz:
    Tests for L{twisted.names.resolve.ResolverChain}
    Nc��tg�}|jd�}|j|�}|j|j	t
�t
�y)zv
        L{ResolverChain._lookup} returns a L{DomainError} failure if
        its C{resolvers} list is empty.
        �www.example.comN)r�
lookupAddress�failureResultOf�assertIs�trapr��self�r�d�fs    �A/usr/lib/python3/dist-packages/twisted/names/test/test_resolve.py�test_emptyResolversListz*ResolverChainTests.test_emptyResolversListsD��

�"���
�O�O�-�.��� � ��#���
�
�a�f�f�[�)�;�7�c��tg�}|jd�}|j|�}|j|j	t
�t
�y)z
        L{ResolverChain.lookupAllRecords} returns a L{DomainError}
        failure if its C{resolvers} list is empty.
        r	N)r�lookupAllRecordsrrr
rrs    r�'test_emptyResolversListLookupAllRecordsz:ResolverChainTests.test_emptyResolversListLookupAllRecordssF��

�"���
���0�1��� � ��#���
�
�a�f�f�[�)�;�7r)�returnN)�__name__�
__module__�__qualname__�__doc__rr�rrrr
s���8�8rrN)r�twisted.names.errorr�twisted.names.resolver�twisted.trial.unittestrrrrr�<module>r"s!���,�/�+�8��8r

Youez - 2016 - github.com/yon3zu
LinuXploit