summaryrefslogtreecommitdiff
path: root/tests/test_bio_ssl.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace 'from . import' with absolute imports.Matěj Cepl2021-01-141-1/+1
|
* Mass removal of deprecated constructs.Matěj Cepl2020-12-021-2/+2
| | | | | * Replace unittest.makeSuite with unittest.TestLoader().loadTestsFromTestCase * import unittest from relative import
* Send the last message of the handshake before closing the connectionKurt Roeckx2018-10-301-0/+3
|
* PEP8isationMatěj Cepl2018-03-201-12/+13
| | | | | | | Specially replace complicated construct with unittest2 to one import to M2Crypto top module. Also, Rand.load_file should have first parameter as bytes(), not str().
* Corrected testing failure results to include (0, -1)Jim Carroll2017-09-151-4/+4
|
* Fix broken imports (and PEP8ization).Matěj Cepl2016-03-201-1/+1
|
* Use the new absolute import syntax to fix Python 3. [PEP 328]Craig Rodrigues2016-03-201-2/+2
| | | | | | | | | | | I used the output of "2to3 -f import M2Crypto" to figure out which imports needed to be fixed. In addition, I added "from __future__ import absolute_import" to all files that I touched. This brings in the new import behavior, and works as far back as Python 2.5.0a1. See: https://docs.python.org/3/library/__future__.html https://www.python.org/dev/peps/pep-0328/
* Fix whitespace using suggestions from autopep8Craig Rodrigues2015-12-011-9/+9
|
* Remove more plain assertsMatěj Cepl2015-11-181-2/+2
|
* Clear some trailing whitespaceMatěj Cepl2015-11-181-42/+42
|
* Use print as a function for Python 3. [PEP 3105]Craig Rodrigues2015-11-161-1/+3
| | | | | | For Python 2 compatibility, import print_function from the __future__ module. This works as far back as Python 2.6.0a2: https://docs.python.org/2/library/__future__.html
* Use randomly assigned ports when testing.Miloslav Trmač2015-10-131-1/+2
| | | | | | | Originally workaround for the multiple runs of the testsuite of M2Crypto running on the same machine (e.g., when it is build for various archs), but generally random ports while testing are The Right Thing™ anyway.
* Switch unit testing to have at least 2.7 unittest API available.Matěj Cepl2015-10-131-1/+5
| | | | Fixes #48
* Fixed memory leak in m2.ec_key_new_by_curve_name.Heikki Toivonen2007-06-121-7/+9
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@543 2715db39-9adf-0310-9c64-84f055769b4b
* Make all test methods start with test_, so that running individual suites works,Heikki Toivonen2006-12-151-7/+7
| | | | | | | | for example: python setup.py test --test-suite=tests.test_x509 -q git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@504 2715db39-9adf-0310-9c64-84f055769b4b
* Bug 7077, test command to setup.py. setuptools are now required to run unit ↵Heikki Toivonen2006-12-061-2/+2
| | | | | | tests. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@491 2715db39-9adf-0310-9c64-84f055769b4b
* Bug 5381, SSLBio and related additions to help do SSL withHeikki Toivonen2006-03-141-0/+148
BIOs directly, original patch by Matt Rodriguez. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@381 2715db39-9adf-0310-9c64-84f055769b4b