D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
share
/
doc
/
python3-pycurl
/
tests
/
__pycache__
/
Filename :
header_test.cpython-36.pyc
back
Copy
3 �[ � @ s` d dl mZ ddlZddlZddlZd dl mZ d dl mZ ejd �\Z Z G dd � d ej�ZdS )� )� localhost� N)� appmanager)�util�app� c @ sr e Zd Zdd� Zdd� Zdd� Zdd� Zeje j je�d d � ��Z e j je�dd� �Zd d� Zdd� Zdd� ZdS )� HeaderTestc C s t j� | _d S )N)r �DefaultCurl�curl)�self� r �:/builddir/build/BUILD/pycurl-7.43.0.2/tests/header_test.py�setUp s zHeaderTest.setUpc C s | j j� d S )N)r �close)r r r r �tearDown s zHeaderTest.tearDownc C s | j dd� d S )Nzx-test-header: ascii�ascii)�check)r r r r �test_ascii_string_header s z#HeaderTest.test_ascii_string_headerc C s | j tjd�d� d S )Nzx-test-header: asciir )r r �u)r r r r �test_ascii_unicode_header s z$HeaderTest.test_ascii_unicode_headerc C s | j dd� d S )Nu x-test-header: Москваu Москва)r )r r r r �test_unicode_string_header s z%HeaderTest.test_unicode_string_headerc C s | j tjd�tjd�� d S )Nu x-test-header: Москваu Москва)r r r )r r r r �test_unicode_unicode_header% s z&HeaderTest.test_unicode_unicode_headerc C s"