summaryrefslogtreecommitdiff
path: root/tests/test_ssl.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix warnings and resource usage problems in asyncio unittests (#2258)Kristján Valur Jónsson2022-07-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use pytest-asyncio in auto mode Remove overly genereric `pytestmark=pytest.mark.asyncio` causing lots of warning noise * Use "Factories as Fixtures" test pattern for the `create_redis` fixture this fixture is now async, avoiding teardown problems with missing event loops. * Fix sporadic error on fast event loops, such as `--uvloop` * Close connection, even if "username" was in kwargs This fixes a resource usage warning in the async unittests. * Do async cleanup of acl passwords via a fixture * Remove unused import, fix whitespace * Fix test with missing "await" * Close pubsub objects after use in unittest Use a simple fixture where possible, otherwise manually call pubsub.close() * re-introduce `pytestmark=pytest.mark.asyncio` for python 3.6 * Use context manager to clean up connections in connection pool for unit tests * Provide asynccontextmanager for python 3.6 * make `test_late_subscribe()` more robuste * Catch a couple of additional leaked resources
* Add support to use certificates from string in ssl connection (#2048)dvora-h2022-03-141-0/+16
| | | | | | | | | * ssl string cert * fix async test * linters * change test name
* Raising ConnectionError on invalid ocsp certificates - with status ↵Chayim2022-01-271-3/+7
| | | | information (#1907)
* OCSP Stapling Support (#1873)Chayim2022-01-171-6/+66
|
* OCSP stapling support (#1820)Chayim2021-12-261-1/+101
|
* Support for password-encrypted SSL private keys (#1782)Chayim2021-12-161-0/+61
Adding support for SSL private keys with a password. This PR also adds support for future SSL tests.