diff options
Diffstat (limited to 'tests/conftest.py')
-rw-r--r-- | tests/conftest.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..5a9954f --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,12 @@ +# Copyright (c) The pyOpenSSL developers +# See LICENSE for details. + + +def pytest_report_header(config): + import OpenSSL.SSL + import cryptography + + return "OpenSSL: {openssl}\ncryptography: {cryptography}".format( + openssl=OpenSSL.SSL.SSLeay_version(OpenSSL.SSL.SSLEAY_VERSION), + cryptography=cryptography.__version__ + ) |