mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-03-27 05:43:22 +00:00
Remove distutils from unit tests. (#444)
This commit is contained in:
@@ -9,11 +9,11 @@ __metaclass__ = type
|
||||
import re
|
||||
import sys
|
||||
|
||||
from distutils.version import LooseVersion
|
||||
|
||||
import cryptography
|
||||
import pytest
|
||||
|
||||
from cryptography.x509 import NameAttribute, oid
|
||||
|
||||
from ansible_collections.community.crypto.plugins.module_utils.crypto.basic import (
|
||||
OpenSSLObjectError,
|
||||
)
|
||||
@@ -24,7 +24,7 @@ from ansible_collections.community.crypto.plugins.module_utils.crypto.cryptograp
|
||||
_parse_dn,
|
||||
)
|
||||
|
||||
from cryptography.x509 import NameAttribute, oid
|
||||
from ansible_collections.community.crypto.plugins.module_utils.version import LooseVersion
|
||||
|
||||
|
||||
def test_cryptography_get_name_invalid_prefix():
|
||||
|
||||
Reference in New Issue
Block a user