Current File : //usr/local/apps/python3/lib/python3.11/test/__pycache__/test_httpservers.cpython-311.pyc |
�
�Ke�� � � � d Z ddlmZ ddlmZmZmZmZ ddlm Z m
Z
ddlZddlZddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZ ddl m!Z!m"Z" ddlZddl#m$Z$ dd l%m&Z& dd
l%m'Z' e$j( d�� � G d
� d� � Z) G d� dej* � � Z+ G d� dej, � � Z- G d� de-� � Z. G d� de-� � Z/ G d� de-� � Z0dZ1dZ2dZ3dZ4 ej5 e6ed� � o ej7 � � dk d� � G d� d e-� � � � Z8 G d!� d"e� � Z9 G d#� d$e9� � Z: G d%� d&� � Z; G d'� d(ej, � � Z< G d)� d*ej, � � Z= G d+� d,ej, � � Z> G d-� d.ej, � � Z?d/� Z@eAd0k r ejB � � dS dS )1z�Unittests for the various HTTPServer modules.
Written by Cody A.W. Somerville <cody-somerville@ubuntu.com>,
Josip Dzolonga, and Michael Otteneder for the 2007/08 GHOP contest.
� )�OrderedDict)�BaseHTTPRequestHandler�
HTTPServer�SimpleHTTPRequestHandler�CGIHTTPRequestHandler)�server�
HTTPStatusN)�mock)�BytesIO�StringIO)�support)� os_helper)�threading_helperT)�modulec � � e Zd Zd� Zdd�ZdS )�NoLogRequestHandlerc � � d S �N� )�self�argss �?/usr/local/apps/python3/lib/python3.11/test/test_httpservers.py�log_messagezNoLogRequestHandler.log_message'