Skip to content

Commit 70c07f0

Browse files
committed
clean up imports
1 parent 6c2c23b commit 70c07f0

4 files changed

Lines changed: 2 additions & 12 deletions

File tree

sdk/keyvault/azure-keyvault-keys/tests/_async_test_case.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
from azure.core.pipeline import Pipeline
1111
from azure.core.pipeline.transport import HttpRequest, RequestsTransport
1212
from azure.keyvault.keys import KeyReleasePolicy
13-
from azure.keyvault.keys._shared import HttpChallengeCache
1413
from azure.keyvault.keys._shared.client_base import ApiVersion, DEFAULT_VERSION
1514
from devtools_testutils import AzureRecordedTestCase
16-
from six.moves.urllib_parse import urlparse
1715
import pytest
1816

1917

sdk/keyvault/azure-keyvault-keys/tests/test_crypto_client_async.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from azure.core.exceptions import AzureError, HttpResponseError
1313
from azure.core.pipeline.policies import SansIOHTTPPolicy
14-
from devtools_testutils import AzureRecordedTestCase, set_bodiless_matcher
14+
from devtools_testutils import set_bodiless_matcher
1515
from azure.keyvault.keys import ApiVersion, JsonWebKey, KeyCurveName, KeyOperation, KeyVaultKey
1616
from azure.keyvault.keys.crypto._key_validity import _UTC
1717
from azure.keyvault.keys.crypto._providers import NoLocalCryptography, get_local_cryptography_provider
@@ -20,7 +20,6 @@
2020
import pytest
2121

2222
from _shared.helpers_async import get_completed_future
23-
from _shared.json_attribute_matcher import json_attribute_matcher
2423
from _shared.test_case_async import KeyVaultTestCase
2524
from _async_test_case import get_decorator, AsyncKeysClientPreparer
2625
from devtools_testutils.aio import recorded_by_proxy_async
@@ -34,9 +33,6 @@
3433

3534

3635
class TestCryptoClient(KeyVaultTestCase):
37-
# def __init__(self, *args, **kwargs):
38-
# super().__init__(*args, match_body=False, custom_request_matchers=[json_attribute_matcher], **kwargs)
39-
4036
plaintext = b"5063e6aaa845f150200547944fd199679c98ed6f99da0a0b2dafeaf1f4684496fd532c1c229968cb9dee44957fcef7ccef59ceda0b362e56bcd78fd3faee5781c623c0bb22b35beabde0664fd30e0e824aba3dd1b0afffc4a3d955ede20cf6a854d52cfd"
4137
iv = codecs.decode("89b8adbfb07345e3598932a09c517441", "hex_codec")
4238
aad = b"test"

sdk/keyvault/azure-keyvault-keys/tests/test_examples_crypto_async.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414

1515

1616
class TestCryptoExamples(KeyVaultTestCase):
17-
# def __init__(self, *args, **kwargs):
18-
# kwargs["match_body"] = False
19-
# super(TestCryptoExamples, self).__init__(*args, **kwargs)
20-
2117
@pytest.mark.asyncio
2218
@pytest.mark.parametrize("api_version,is_hsm",all_api_versions)
2319
@AsyncKeysClientPreparer()

sdk/keyvault/azure-keyvault-keys/tests/test_keys_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from _shared.test_case_async import KeyVaultTestCase
2727
from _async_test_case import get_attestation_token, get_decorator, get_release_policy, is_public_cloud, AsyncKeysClientPreparer
2828
from test_key_client import _assert_lifetime_actions_equal, _assert_rotation_policies_equal
29-
from devtools_testutils import AzureRecordedTestCase, set_bodiless_matcher
29+
from devtools_testutils import set_bodiless_matcher
3030
from devtools_testutils.aio import recorded_by_proxy_async
3131

3232

0 commit comments

Comments
 (0)