File: //usr/lib/python3/dist-packages/twisted/web/test/__pycache__/test_template.cpython-38.pyc
U
W[ye � @ s� d Z ddlmZmZ ddlmZ ddlmZmZ ddl m
Z
ddlmZ ddl
mZ ddlmZmZmZmZmZmZ dd lmZ dd
lmZmZmZ ddlmZ ddlmZ dd
l m!Z! ddl"m#Z# ddl$m%Z% ddl&m'Z( ddl)m*Z* ddl+m,Z, ee-dd�Z.G dd� de�Z/G dd� de�Z0G dd� de�Z1G dd� de2�Z3G dd� dee3�Z4G dd � d ee3�Z5G d!d"� d"ee3�Z6G d#d$� d$ee3�Z7G d%d&� d&e!�Z8G d'd(� d(e!�Z9G d)d*� d*e�Z:G d+d,� d,e�Z;G d-d.� d.e�Z<G d/d0� d0e2�Z=G d1d2� d2e�Z>d3S )4z#
Tests for L{twisted.web.template}
� )�division�absolute_import)�verifyObject)�succeed�
gatherResults)�FilePath)�TestCase)�suppress)�Element� TagLoader�renderer�tags�XMLFile� XMLString)�ITemplateLoader)�FlattenerError�MissingTemplateLoader�MissingRenderMethod)�
renderElement)�UnexposedMethodError)�FlattenTestCase)�DummyRequest)�NOT_DONE_YET)�NativeStringIO)�globalLogPublisher)�EventLoggingObserver�hPassing filenames or file objects to XMLFile is deprecated since Twisted 12.1. Pass a FilePath instead.)�category�messagec @ s8 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� ZdS )
�TagFactoryTestszO
Tests for L{_TagFactory} through the publicly-exposed L{tags} object.
c C s t j}| �|jd� dS )z=
HTML tags can be retrieved through C{tags}.
�aN)r
r �assertEqual�tagName��self�tag� r&