Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
admin
/
installer
/
css
/
sass
/
sym404
/
root
/
usr
/
share
/
doc
/
python3-pycurl
/
tests
:
error_constants_test.py
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
#! /usr/bin/env python # -*- coding: utf-8 -*- # vi:ts=4:et import pycurl import unittest from . import util class ErrorConstantsTest(unittest.TestCase): @util.min_libcurl(7, 21, 5) def test_not_built_in(self): assert hasattr(pycurl, 'E_NOT_BUILT_IN') @util.min_libcurl(7, 24, 0) def test_ftp_accept_failed(self): assert hasattr(pycurl, 'E_FTP_ACCEPT_FAILED') @util.min_libcurl(7, 21, 5) def test_unknown_option(self): assert hasattr(pycurl, 'E_UNKNOWN_OPTION') @util.min_libcurl(7, 39, 0) def test_pinnedpubkeynotmatch(self): assert hasattr(pycurl, 'E_SSL_PINNEDPUBKEYNOTMATCH')