0x1949 Team - FAZEMRX - MANAGER
Edit File: test_static.cpython-310.pyc
o �be � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddlm Z ddlmZ ddl mZ ddlmZmZ ddlmZmZ ddlmZ dd lmZ dd lmZ ddlmZ ddlmZmZm Z m!Z! dd l"m#Z# ddl$m%Z% ddl&m'Z' ddl(m)Z) G dd� de�Z*G dd� de�Z+G dd� de�Z,G dd� de�Z-G dd� de�Z.G dd� de�Z/G dd� de�Z0G dd � d e�Z1G d!d"� d"e�Z2G d#d$� d$e�Z3G d%d&� d&e�Z4dS )'z" Tests for L{twisted.web.static}. � N)�BytesIO)�skipIf)�verifyObject)�abstract� interfaces)�compat�log�� networkString)�FilePath)�platform)�TestCase)�http�resource�script�static)�FOUND)�UnsupportedMethod��_render)�DummyRequestc @ � e Zd ZdZdd� Zdd� ZdS )�StaticDataTestsz Tests for L{Data}. c sB t �dd�}tdg�� d� _t|� �}� �fdd�}|�|� |S )zV L{Data.render} returns an empty response body for a I{HEAD} request. � foo�bar� � HEADc � �� d�� j�d� d S �N� ��assertEqual�join�written��ignored��request�self� �>/usr/lib/python3/dist-packages/twisted/web/test/test_static.py� cbRendered. � z4StaticDataTests.test_headRequest.<locals>.cbRendered)r �Datar �methodr �addCallback)r( �data�dr+ r) r&