summaryrefslogtreecommitdiff
path: root/tests/util.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove use of deprecated distutilsScott Talbert2022-06-101-35/+1
| | | | | | | | | 1) Use setuptools instead where it can replace distutils 2) Replace distutils.util.split_quoted with shlex.split 3) Remove support for bdist_msi (it's deprecated anyway) 4) Remove unused function in tests/util.py Fixes #757
* Add support for SecureTransport SSL backendScott Talbert2021-09-101-0/+2
| | | | This allows pycurl to be compiled with the curl that is shipped with macOS.
* Remove remaining nose referenceOleg Pudeyev2021-07-191-3/+1
|
* Merge branch 'master' into pr-655Oleg Pudeyev2021-07-171-0/+15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Depend on o-nose-show-skipped to get unreleased fixes i nose-show-skipped Best effort python 2 support. See #652 failonerror_test: skip the test with curl-7.75.0+ option_constants_test: skip check of SSLVERSION_SSLv* curl_version_info_struct lags behind curl #662 Allow to get CURLINFO_CONDITION_UNMET Remove bintray from docs docs: fix typos docs(quickstart): only show Python 3 code Expose MAX_CONCURRENT_STREAMS in CurlMulti src/module.c: make the code compile against python-3.10.0a1 Build documentation using specified Python version Use make -C for building fake-curl
| * option_constants_test: skip check of SSLVERSION_SSLv*Kamil Dudka2021-06-011-0/+15
| | | | | | | | | | | | | | | | | | ... with curl-7.77.0, where they started to return CURLE_BAD_FUNCTION_ARGUMENT: https://github.com/curl/curl/pull/6773 Closes: https://github.com/pycurl/pycurl/pull/689
* | Switch from nose to pytestSteve Kowalik2020-09-141-26/+12
|/ | | | | With nose being unmaintained for a long while, switch to pytest to run the test suite.
* Skip telnet tests when cURL is built without telnet supportMichał Górny2020-05-041-0/+14
|
* Naturally ssl tests broke because certificate is for localhost, not 127.0.0.1Oleg Pudeyev2018-06-011-0/+12
|
* Windows compatibility for test suiteOleg Pudeyev2018-06-011-2/+13
|
* Add getinfo_raw to return getinfo data as byte strings.Oleg Pudeyev2018-05-211-0/+12
| | | | Fixes #230, #493
* Need to exclude pythons < 3.5Oleg Pudeyev2018-05-211-0/+15
|
* Drop python 2.6 supportOleg Pudeyev2018-03-241-4/+1
|
* Python 3 compatOleg Pudeyev2017-12-031-1/+1
|
* Move decorator to utilOleg Pudeyev2017-12-031-0/+9
|
* Reduce the number of broken pipesOleg Pudeyev2017-11-291-0/+6
|
* Account for development versions of pycurlOleg Pudeyev2016-02-011-1/+1
|
* Pacify pyflakesOleg Pudeyev2016-01-101-0/+3
|
* Add CURLOPT_XFERINFOFUNCTIONOleg Pudeyev2016-01-101-0/+4
|
* WhitespaceOleg Pudeyev2015-12-311-21/+21
|
* ipv6 test for open socket callbackOleg Pudeyev2015-12-311-0/+13
|
* Work around pyflakes limitationsOleg Pudeyev2015-10-271-0/+6
|
* E_UNKNOWN_OPTION is pretty new it turns outOleg Pudeyev2015-09-261-1/+2
|
* Redo ssl backend restriction in test suiteOleg Pudeyev2015-07-081-0/+30
|
* Implement a CURLE_UNKNOWN_OPTION guard for test cases requiring libcurl to ↵Oleg Pudeyev2014-06-021-0/+21
| | | | be built against certain libraries
* Python 2.4 and 2.5 compatibilityOleg Pudeyev2014-01-011-0/+2
|
* Accept unicode with ascii code points from read callback on python 2Oleg Pudeyev2014-01-011-0/+2
|
* Header test uses utf-8 encoded strings, change all encoding declarations in ↵Oleg Pudeyev2013-12-311-1/+1
| | | | source to utf-8
* Borrow b() and u() from sixOleg Pudeyev2013-12-311-0/+17
|
* Fix test suite on ssl-less libcurlOleg Pudeyev2013-12-271-0/+16
|
* Use functools backport if functools is not available (python 2.4)Oleg Pudeyev2013-12-161-2/+4
|
* Do not import pycurl globally.Oleg Pudeyev2013-12-151-1/+2
| | | | Doing this prevents appmanager from being run in a clean python environment.
* Extract minimum libcurl version check into a decoratorOleg Pudeyev2013-12-151-0/+16
|
* Updating tests to handle responses being of bytes type under python 3Oleg Pudeyev2013-12-141-5/+9
|
* Decorator to only run tests on python 3Oleg Pudeyev2013-12-141-0/+13
|
* Comment out unused variable, leave in code for future debuggingOleg Pudeyev2013-12-081-1/+1
|
* Delete cvs idsOleg Pudeyev2013-10-291-1/+0
|
* Make pylint happierOleg Pudeyev2013-09-251-2/+4
|
* Move wait_for_network_service to util so that it can be used for launching ↵Oleg Pudeyev2013-09-191-1/+28
| | | | vsftpd under python 2.4
* Python 3 compatibility: mapOleg Pudeyev2013-03-151-1/+1
|
* Use version comparison helper in debug testOleg Pudeyev2013-03-071-2/+2
|
* Create a generalized function for curl version comparisonsOleg Pudeyev2013-03-071-0/+15
|
* Put stringio import into utilOleg Pudeyev2013-03-061-0/+8
| | | | This way all tests can simply import stringio from util in one line.
* Added source encoding charset for Python 2.3.Markus F.X.J. Oberhumer2003-04-211-0/+1
|
* Added a exec-header to all test programs.Markus F.X.J. Oberhumer2002-08-291-1/+1
|
* Added the usage of get_sys_path() to several test scripts.Markus F.X.J. Oberhumer2002-07-181-1/+1
|
* Initial version.Markus F.X.J. Oberhumer2002-07-181-0/+37