D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
share
/
doc
/
python3-pycurl
/
tests
/
__pycache__
/
Filename :
setopt_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 @ s e Zd Zdd� Zdd� Zdd� Zdd� Zejj e �d d � �Zdd� Zejj e �d d� �Z ejj e �dd� �Zdd� Zdd� Zdd� Zdd� Zdd� Zejddd�dd� �Zejddd�d d!� �Zejddd�d"d#� �Zejddd�d$d%� �Zejddd�d&d'� �Zd(d)� Zd*d+� Zd,S )-� SetoptTestc C s t j� | _d S )N)r �DefaultCurl�curl)�self� r �:/builddir/build/BUILD/pycurl-7.43.0.2/tests/setopt_test.py�setUp s zSetoptTest.setUpc C s | j j� d S )N)r �close)r r r r �tearDown s zSetoptTest.tearDownc C s | j jtjd� d S )NT)r �setopt�pycurl�VERBOSE)r r r r �test_boolean_value s zSetoptTest.test_boolean_valuec C s | j jtjd� d S )Nr )r r r r )r r r r �test_integer_value s zSetoptTest.test_integer_valuec C s | j jtjd� d S )Nz Hello, world!)r r r r )r r r r �$test_string_value_for_integer_option s z/SetoptTest.test_string_value_for_integer_optionc C s | j jtjd� d S )Nzhttp://hello.world)r r r �URL)r r r r �test_string_value"