D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
lib64
/
python3.6
/
site-packages
/
markupsafe
/
__pycache__
/
Filename :
tests.cpython-36.opt-1.pyc
back
Copy
3 ��kS� � @ s| d dl Z d dlZd dlZd dlmZmZmZ d dlmZ G dd� dej �Z G dd� dej �Zdd � Ze d krxejd d� dS )� N)�Markup�escape� escape_silent)� text_typec @ s� e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z ejd"krZdd� Z dd� Zdd� Zdd� Zdd� Zdd� Zdd � Zd!S )#�MarkupTestCasec C s d}t d�}d S )Nz?<script type="application/x-some-script">alert("foo");</script>z<em>username</em>)r )�selfZunsafeZsafe� r �/usr/lib64/python3.6/tests.py�test_adding s zMarkupTestCase.test_addingc C s d S )Nr )r r r r �test_string_interpolation s z(MarkupTestCase.test_string_interpolationc C s t d�}d S )N�foo)r )r �xr r r �test_type_behavior s z!MarkupTestCase.test_type_behaviorc C s G dd� dt �}d S )Nc @ s e Zd Zdd� Zdd� ZeZdS )z-MarkupTestCase.test_html_interop.<locals>.Fooc S s dS )Nz<em>awesome</em>r )r r r r �__html__'