File: //usr/share/doc/python3-pycurl/tests/__pycache__/protocol_constants_test.cpython-36.pyc
3
gJ$Z� � @ s2 d dl Z d dlZddlmZ G dd� dej�ZdS )� N� )�utilc @ sd e Zd Zejddd�dd� �Zejddd�dd � �Zejdd
d�dd� �Zejdd
d
�dd� �ZdS )�ProtocolConstantsTest� � � c C s� t td�st�t td�st�t td�s*t�t td�s8t�t td�sFt�t td�sTt�t td�sbt�t td�spt�t td �s~t�t td
�s�t�t td�s�t�t td�s�t�t td
�s�t�d S )N� PROTO_ALLZ
PROTO_DICTZ
PROTO_FILEZ PROTO_FTPZ
PROTO_FTPS�
PROTO_HTTPZPROTO_HTTPSZ
PROTO_LDAPZPROTO_LDAPSZ PROTO_SCPZ
PROTO_SFTPZPROTO_TELNETZ
PROTO_TFTP)�hasattr�pycurl�AssertionError)�self� r �F/builddir/build/BUILD/pycurl-7.43.0.2/tests/protocol_constants_test.py�test_7_19_4_protocols s z+ProtocolConstantsTest.test_7_19_4_protocols� r c C sf t td�st�t td�st�t td�s*t�t td�s8t�t td�sFt�t td�sTt�t td�sbt�d S )NZ
PROTO_IMAPZPROTO_IMAPSZ
PROTO_POP3ZPROTO_POP3SZ
PROTO_RTSPZ
PROTO_SMTPZPROTO_SMTPS)r
r r )r
r r r �test_7_20_0_protocols s z+ProtocolConstantsTest.test_7_20_0_protocols� c C sX t td�st�t td�st�t td�s*t�t td�s8t�t td�sFt�t td�sTt�d S )NZ
PROTO_RTMPZPROTO_RTMPEZPROTO_RTMPSZPROTO_RTMPTZPROTO_RTMPTEZPROTO_RTMPTS)r
r r )r
r r r �test_7_21_0_protocols% s z+ProtocolConstantsTest.test_7_21_0_protocols� c C s t td�st�d S )NZPROTO_GOPHER)r
r r )r
r r r �test_7_21_2_protocols. s z+ProtocolConstantsTest.test_7_21_2_protocolsN) �__name__�
__module__�__qualname__r �min_libcurlr r r r r r r r r
s
r )r �unittest� r �TestCaser r r r r �<module> s