Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/names/test/__pycache__/ |
Upload File : |
o �b� � @ s� d Z ddlZddlmZmZ ddlmZ ddlmZm Z ddl mZ ddlm Z ddlmZ dd lmZmZmZmZmZ dd lmZ ddlmZ ddlmZ dd lmZ ddlmZ ddl m!Z! ddl"m#Z# ddl$m%Z% ddl&m'Z' e#�(� sydZ)ndZ)G dd� de�Z*G dd� d�Z+G dd� d�Z,G dd� de'j-�Z.G dd� de'j-e�Z/G dd� de'j-�Z0G d d!� d!e'j-�Z1G d"d#� d#e'j-�Z2G d$d%� d%�Z3G d&d'� d'e'j-�Z4G d(d)� d)e'j-�Z5dS )*z) Test cases for L{twisted.names.client}. � N)�verifyClass�verifyObject)�defer)�CannotListenError�ConnectionRefusedError)� IResolver)�Clock)�AlternateReactor)�cache�client�dns�error�hosts)�ResolverBase)�DNSQueryTimeoutError)� test_util)�GoodTempPathMixin)�failure)�FilePath)�platform)� proto_helpers)�unittestz:These tests need more work before they'll work on Windows.c @ s e Zd Zdd� ZdS )�FakeResolverc C sZ |dkrt j|t j|dt jddd�d�}n t j|||dd�}|g}g }g }t�|||f�S )z� The getHostByNameTest does a different type of query that requires it return an A record from an ALL_RECORDS lookup, so we accommodate that here. � getHostByNameTest�<