Conditions | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 1 |
CRAP Score | 1.4218 |
Changes | 0 |
1 | 1 | from plugin.core.libraries.tests.core.base import BaseTest |
|
8 | 1 | @staticmethod |
|
9 | def test_import(): |
||
10 | import cryptography |
||
11 | from cryptography.hazmat.bindings.openssl.binding import Binding |
||
12 | |||
13 | return { |
||
14 | 'versions': { |
||
15 | 'cryptography': getattr(cryptography, '__version__', None), |
||
16 | 'openssl': Binding.lib.SSLeay() |
||
17 | } |
||
19 |