diff options
author | Hynek Schlawack <hs@ox.cx> | 2016-03-14 14:37:52 +0100 |
---|---|---|
committer | Hynek Schlawack <hs@ox.cx> | 2016-03-14 14:37:52 +0100 |
commit | 8906bdd9325c4b477fe3208b2c64d00c429c4b6f (patch) | |
tree | 029d90aea1f27adf1f1c0d93de61c0948cff264c /tests/conftest.py | |
parent | f9182e2c2e37cce45604cf8a30c1678b9397b746 (diff) | |
download | pyopenssl-git-8906bdd9325c4b477fe3208b2c64d00c429c4b6f.tar.gz |
Move conftest.py into tests
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__ + ) |