Hynek Schlawack | f9182e2 | 2016-03-14 13:51:16 +0100 | [diff] [blame] | 1 | # Copyright (c) The pyOpenSSL developers |
2 | # See LICENSE for details. | ||||
3 | |||||
4 | |||||
5 | def pytest_report_header(config): | ||||
6 | import OpenSSL.SSL | ||||
7 | import cryptography | ||||
8 | |||||
9 | return "OpenSSL: {openssl}\ncryptography: {cryptography}".format( | ||||
10 | openssl=OpenSSL.SSL.SSLeay_version(OpenSSL.SSL.SSLEAY_VERSION), | ||||
11 | cryptography=cryptography.__version__ | ||||
12 | ) |