%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/names/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/names/test/__pycache__/test_client.cpython-312.pyc |
� Ϫ�f� � � � 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#jP � sdZ)ndZ) G d� de� Z* G d� d� Z+ G d� d� Z, G d� de'jZ � Z. G d� de'jZ e� Z/ G d� de'jZ � Z0 G d � d!e'jZ � Z1 G d"� d#e'jZ � Z2 G d$� d%� Z3 G d&� d'e'jZ � Z4 G d(� d)e'jZ � Z5y)*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 � � e Zd Zd� Zy)�FakeResolverc � � |dk( r>t j |t j |dt j dd�� �� }nt j |||d�� }|g}g }g }t j |||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�<