mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-03-26 21:33:25 +00:00
Re-sort imports.
This commit is contained in:
@@ -19,7 +19,6 @@ from ansible_collections.community.crypto.plugins.module_utils._acme.errors impo
|
||||
|
||||
from ..test__time import TIMEZONES, cartesian_product
|
||||
|
||||
|
||||
if t.TYPE_CHECKING:
|
||||
from ansible_collections.community.crypto.plugins.module_utils._acme.backends import ( # pragma: no cover
|
||||
Criterium,
|
||||
|
||||
@@ -37,7 +37,6 @@ from .backend_data import (
|
||||
TEST_PARSE_ACME_TIMESTAMP,
|
||||
)
|
||||
|
||||
|
||||
if t.TYPE_CHECKING:
|
||||
from ansible_collections.community.crypto.plugins.module_utils._acme.backends import ( # pragma: no cover
|
||||
CertificateInformation,
|
||||
|
||||
@@ -33,7 +33,6 @@ from .backend_data import (
|
||||
TEST_PARSE_ACME_TIMESTAMP,
|
||||
)
|
||||
|
||||
|
||||
if t.TYPE_CHECKING:
|
||||
from ansible_collections.community.crypto.plugins.module_utils._acme.backends import ( # pragma: no cover
|
||||
CertificateInformation,
|
||||
|
||||
@@ -17,7 +17,6 @@ from ansible_collections.community.crypto.plugins.module_utils._acme.errors impo
|
||||
format_error_problem,
|
||||
)
|
||||
|
||||
|
||||
TEST_FORMAT_ERROR_PROBLEM: list[tuple[dict[str, t.Any], str, str]] = [
|
||||
(
|
||||
{
|
||||
|
||||
@@ -14,7 +14,6 @@ from ansible_collections.community.crypto.plugins.module_utils._acme.io import (
|
||||
write_file,
|
||||
)
|
||||
|
||||
|
||||
TEST_TEXT = r"""1234
|
||||
5678"""
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@ from ansible_collections.community.crypto.plugins.module_utils._acme.utils impor
|
||||
|
||||
from .backend_data import TEST_PEM_DERS
|
||||
|
||||
|
||||
NOPAD_B64: list[tuple[str, str]] = [
|
||||
("", ""),
|
||||
("\n", "Cg"),
|
||||
|
||||
@@ -15,7 +15,6 @@ from ansible_collections.community.crypto.plugins.module_utils._crypto._asn1 imp
|
||||
serialize_asn1_string_as_der,
|
||||
)
|
||||
|
||||
|
||||
TEST_CASES: list[tuple[str, bytes]] = [
|
||||
("UTF8:Hello World", b"\x0c\x0b\x48\x65\x6c\x6c\x6f\x20\x57\x6f\x72\x6c\x64"),
|
||||
(
|
||||
|
||||
@@ -15,7 +15,6 @@ from ansible_collections.community.crypto.plugins.module_utils._crypto.pem impor
|
||||
split_pem_list,
|
||||
)
|
||||
|
||||
|
||||
PEM_TEST_CASES: list[
|
||||
tuple[bytes, list[str], bool, t.Literal["raw", "pkcs1", "pkcs8", "unknown-pem"]]
|
||||
] = [
|
||||
|
||||
@@ -15,7 +15,6 @@ from ansible_collections.community.crypto.plugins.module_utils._openssh.certific
|
||||
parse_option_list,
|
||||
)
|
||||
|
||||
|
||||
# Type: ssh-rsa-cert-v01@openssh.com user certificate
|
||||
# Public key: RSA-CERT SHA256:SvUwwUer4AwsdePYseJR3LcZS8lnKi6BqiL51Dop030
|
||||
# Signing CA: DSA SHA256:YCdJ2lYU+FSkWUud7zg1SJszprXoRGNU/GVcqXUjgC8
|
||||
|
||||
@@ -24,7 +24,6 @@ from ansible_collections.community.crypto.plugins.module_utils._openssh.cryptogr
|
||||
OpensshKeypair,
|
||||
)
|
||||
|
||||
|
||||
if t.TYPE_CHECKING:
|
||||
from ansible_collections.community.crypto.plugins.module_utils._openssh.cryptography import ( # pragma: no cover
|
||||
KeyType,
|
||||
|
||||
@@ -14,7 +14,6 @@ from ansible_collections.community.crypto.plugins.module_utils._openssh.utils im
|
||||
parse_openssh_version,
|
||||
)
|
||||
|
||||
|
||||
SSH_VERSION_STRING = "OpenSSH_7.9p1, OpenSSL 1.1.0i-fips 14 Aug 2018"
|
||||
SSH_VERSION_NUMBER = "7.9"
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@ from ansible_collections.community.crypto.plugins.module_utils._time import (
|
||||
remove_timezone,
|
||||
)
|
||||
|
||||
|
||||
TIMEZONES = [
|
||||
datetime.timedelta(hours=0),
|
||||
datetime.timedelta(hours=1),
|
||||
|
||||
Reference in New Issue
Block a user