diff --git a/packages/google-cloud-kms/samples/snippets/snippets_test.py b/packages/google-cloud-kms/samples/snippets/snippets_test.py index c75b872c4121..795edeb47370 100644 --- a/packages/google-cloud-kms/samples/snippets/snippets_test.py +++ b/packages/google-cloud-kms/samples/snippets/snippets_test.py @@ -16,6 +16,12 @@ import time import uuid +from cryptography.exceptions import InvalidSignature +from cryptography.hazmat.backends import default_backend +from cryptography.hazmat.primitives import hashes, serialization +from cryptography.hazmat.primitives.asymmetric import padding, utils +from google.cloud import kms +from google.cloud.kms_v1.proto import resources_pb2 import pytest from create_key_asymmetric_decrypt import create_key_asymmetric_decrypt @@ -50,14 +56,6 @@ from verify_asymmetric_ec import verify_asymmetric_ec from verify_asymmetric_rsa import verify_asymmetric_rsa -from cryptography.exceptions import InvalidSignature -from cryptography.hazmat.backends import default_backend -from cryptography.hazmat.primitives import hashes, serialization -from cryptography.hazmat.primitives.asymmetric import padding, utils - -from google.cloud import kms -from google.cloud.kms_v1.proto import resources_pb2 - @pytest.fixture(scope="module") def client():