diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu.py b/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu.py index 2e1094b4fb..50e6fc4f0d 100644 --- a/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu.py +++ b/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu_request.py b/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu_request.py index 69ce582851..f79d2119b4 100644 --- a/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu_request.py +++ b/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu_request.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_perform.py b/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_perform.py index 404925e403..6268229faf 100644 --- a/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_perform.py +++ b/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_perform.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/messages/tests/test_basic_message.py b/aries_cloudagent/protocols/basicmessage/v1_0/messages/tests/test_basic_message.py index d7a83dc159..bb0fcf6f2e 100644 --- a/aries_cloudagent/protocols/basicmessage/v1_0/messages/tests/test_basic_message.py +++ b/aries_cloudagent/protocols/basicmessage/v1_0/messages/tests/test_basic_message.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_invitation.py b/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_invitation.py index b35bf95e1a..f325f34c71 100644 --- a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_invitation.py +++ b/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_invitation.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from ......messaging.models.base import BaseModelError diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_request.py b/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_request.py index a5faf19f1b..9ae14e169c 100644 --- a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_request.py +++ b/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_request.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_response.py b/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_response.py index 616f6f20c4..3522895da8 100644 --- a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_response.py +++ b/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_response.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_disclose.py b/aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_disclose.py index 84e02cf12e..5c33b88bf2 100644 --- a/aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_disclose.py +++ b/aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_disclose.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_query.py b/aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_query.py index 18af3b6ba7..c691f6a65f 100644 --- a/aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_query.py +++ b/aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_query.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_disclosures.py b/aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_disclosures.py index 3621d35151..c6440d72eb 100644 --- a/aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_disclosures.py +++ b/aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_disclosures.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from ......messaging.models.base import BaseModelError diff --git a/aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_queries.py b/aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_queries.py index e5624a33df..2089c94692 100644 --- a/aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_queries.py +++ b/aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_queries.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_cancel_transaction.py b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_cancel_transaction.py index 8e6743e7aa..1ae989233f 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_cancel_transaction.py +++ b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_cancel_transaction.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_endorsed_transaction_response.py b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_endorsed_transaction_response.py index 069823a76f..44ecbd3ada 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_endorsed_transaction_response.py +++ b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_endorsed_transaction_response.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_messages_attach.py b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_messages_attach.py index 111376b0d2..4e8b7e4c0b 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_messages_attach.py +++ b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_messages_attach.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_refused_transaction_response.py b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_refused_transaction_response.py index b81116dd43..72ab421091 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_refused_transaction_response.py +++ b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_refused_transaction_response.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_acknowledgement.py b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_acknowledgement.py index aed0666b75..c949370ee0 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_acknowledgement.py +++ b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_acknowledgement.py @@ -1,5 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_job_to_send.py b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_job_to_send.py index 808316f62f..99d4fb094a 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_job_to_send.py +++ b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_job_to_send.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_request.py b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_request.py index 13cc506836..938e07f3c6 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_request.py +++ b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_request.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_resend.py b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_resend.py index 7bc8be1932..a7db7be9b4 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_resend.py +++ b/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_resend.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_forward_invitation.py b/aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_forward_invitation.py index 7739071f07..2cb11623e6 100644 --- a/aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_forward_invitation.py +++ b/aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_forward_invitation.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_invitation_request.py b/aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_invitation_request.py index eb807e6e22..b0224c6c58 100644 --- a/aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_invitation_request.py +++ b/aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_invitation_request.py @@ -1,6 +1,7 @@ from unittest import IsolatedAsyncioTestCase -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_ack.py b/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_ack.py index ab29df0191..b6c44ad524 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_ack.py +++ b/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_ack.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_issue.py b/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_issue.py index ff408a1458..5221bea457 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_issue.py +++ b/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_issue.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from ......messaging.decorators.attach_decorator import AttachDecorator diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_offer.py b/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_offer.py index 87a820c64c..150329ac3d 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_offer.py +++ b/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_offer.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from ......messaging.decorators.attach_decorator import AttachDecorator diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_problem_report.py b/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_problem_report.py index fc87a911fa..d4e76821e6 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_problem_report.py +++ b/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_problem_report.py @@ -1,7 +1,8 @@ import logging import pytest -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from ......messaging.models.base import BaseModelError diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_request.py b/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_request.py index d8ddce8f49..b3ae1e2203 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_request.py +++ b/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_request.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from ......messaging.decorators.attach_decorator import AttachDecorator diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_problem_report.py b/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_problem_report.py index 2389668065..0d302f5a77 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_problem_report.py +++ b/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_problem_report.py @@ -1,7 +1,8 @@ import logging import pytest -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from ......messaging.models.base import BaseModelError diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_problem_report.py b/aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_problem_report.py index 60e7cc2387..325bf8cbe5 100644 --- a/aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_problem_report.py +++ b/aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_problem_report.py @@ -1,6 +1,7 @@ import pytest -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from ......messaging.models.base import BaseModelError diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_problem_report.py b/aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_problem_report.py index 11607756f5..7a026ea628 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_problem_report.py +++ b/aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_problem_report.py @@ -1,6 +1,7 @@ import pytest -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from ......messaging.models.base import BaseModelError diff --git a/aries_cloudagent/protocols/problem_report/v1_0/tests/test_message.py b/aries_cloudagent/protocols/problem_report/v1_0/tests/test_message.py index c3240c6d5f..c9f586533e 100644 --- a/aries_cloudagent/protocols/problem_report/v1_0/tests/test_message.py +++ b/aries_cloudagent/protocols/problem_report/v1_0/tests/test_message.py @@ -1,6 +1,7 @@ import pytest -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....messaging.models.base import BaseModelError diff --git a/aries_cloudagent/protocols/routing/v1_0/messages/tests/test_forward.py b/aries_cloudagent/protocols/routing/v1_0/messages/tests/test_forward.py index 2dea1d988d..833622ebde 100644 --- a/aries_cloudagent/protocols/routing/v1_0/messages/tests/test_forward.py +++ b/aries_cloudagent/protocols/routing/v1_0/messages/tests/test_forward.py @@ -1,6 +1,7 @@ import json -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .....didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping.py b/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping.py index 2bc01de8af..92e184bf1d 100644 --- a/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping.py +++ b/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping_reponse.py b/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping_reponse.py index b0b6badbcf..3a6bd7cbf6 100644 --- a/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping_reponse.py +++ b/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping_reponse.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from unittest import IsolatedAsyncioTestCase diff --git a/aries_cloudagent/tests/test_main.py b/aries_cloudagent/tests/test_main.py index 5bc72503b8..70c0589d43 100644 --- a/aries_cloudagent/tests/test_main.py +++ b/aries_cloudagent/tests/test_main.py @@ -1,4 +1,5 @@ -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from .. import __main__ as test_module diff --git a/aries_cloudagent/utils/tests/test_classloader.py b/aries_cloudagent/utils/tests/test_classloader.py index b83b0d6755..50583856d2 100644 --- a/aries_cloudagent/utils/tests/test_classloader.py +++ b/aries_cloudagent/utils/tests/test_classloader.py @@ -1,4 +1,5 @@ -from unittest import TestCase, mock +from unittest import TestCase +from unittest import mock from ...core.error import BaseError diff --git a/aries_cloudagent/utils/tests/test_repeat.py b/aries_cloudagent/utils/tests/test_repeat.py index bb86e345be..f92e8f3c1a 100644 --- a/aries_cloudagent/utils/tests/test_repeat.py +++ b/aries_cloudagent/utils/tests/test_repeat.py @@ -1,4 +1,5 @@ -from unittest import IsolatedAsyncioTestCase, mock +from unittest import IsolatedAsyncioTestCase +from unittest import mock from .. import repeat as test_module diff --git a/aries_cloudagent/vc/ld_proofs/crypto/tests/test_wallet_key_pair.py b/aries_cloudagent/vc/ld_proofs/crypto/tests/test_wallet_key_pair.py index a59e738916..fbca22b3e0 100644 --- a/aries_cloudagent/vc/ld_proofs/crypto/tests/test_wallet_key_pair.py +++ b/aries_cloudagent/vc/ld_proofs/crypto/tests/test_wallet_key_pair.py @@ -1,4 +1,5 @@ -from unittest import IsolatedAsyncioTestCase, mock +from unittest import IsolatedAsyncioTestCase +from unittest import mock from aries_cloudagent.wallet.key_type import ED25519 diff --git a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_authentication_proof_purpose.py b/aries_cloudagent/vc/ld_proofs/purposes/tests/test_authentication_proof_purpose.py index 884006a36a..3e6b030c5c 100644 --- a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_authentication_proof_purpose.py +++ b/aries_cloudagent/vc/ld_proofs/purposes/tests/test_authentication_proof_purpose.py @@ -1,5 +1,6 @@ from datetime import datetime, timedelta -from unittest import IsolatedAsyncioTestCase, mock +from unittest import IsolatedAsyncioTestCase +from unittest import mock from ...validation_result import PurposeResult from ..controller_proof_purpose import ControllerProofPurpose diff --git a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_controller_proof_purpose.py b/aries_cloudagent/vc/ld_proofs/purposes/tests/test_controller_proof_purpose.py index 052acd1603..4babb4d91e 100644 --- a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_controller_proof_purpose.py +++ b/aries_cloudagent/vc/ld_proofs/purposes/tests/test_controller_proof_purpose.py @@ -1,5 +1,6 @@ from datetime import datetime, timedelta -from unittest import IsolatedAsyncioTestCase, mock +from unittest import IsolatedAsyncioTestCase +from unittest import mock from ....tests.data import TEST_VC_DOCUMENT_SIGNED_DID_KEY_ED25519 from ....tests.document_loader import custom_document_loader diff --git a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_credential_issuance_purpose.py b/aries_cloudagent/vc/ld_proofs/purposes/tests/test_credential_issuance_purpose.py index dfa4749fcc..5ca98670b3 100644 --- a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_credential_issuance_purpose.py +++ b/aries_cloudagent/vc/ld_proofs/purposes/tests/test_credential_issuance_purpose.py @@ -1,5 +1,6 @@ from datetime import datetime, timedelta -from unittest import IsolatedAsyncioTestCase, mock +from unittest import IsolatedAsyncioTestCase +from unittest import mock from ...validation_result import PurposeResult from ..assertion_proof_purpose import AssertionProofPurpose diff --git a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_proof_purpose.py b/aries_cloudagent/vc/ld_proofs/purposes/tests/test_proof_purpose.py index 4865f9c9c4..ee01358587 100644 --- a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_proof_purpose.py +++ b/aries_cloudagent/vc/ld_proofs/purposes/tests/test_proof_purpose.py @@ -1,5 +1,6 @@ from datetime import datetime, timedelta -from unittest import IsolatedAsyncioTestCase, mock +from unittest import IsolatedAsyncioTestCase +from unittest import mock from .....messaging.util import datetime_to_str from ..proof_purpose import ProofPurpose diff --git a/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_2020.py b/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_2020.py index 24ffe32e96..11d7649453 100644 --- a/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_2020.py +++ b/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_2020.py @@ -1,4 +1,5 @@ -from unittest import IsolatedAsyncioTestCase, mock +from unittest import IsolatedAsyncioTestCase +from unittest import mock import pytest from aries_cloudagent.wallet.key_type import BLS12381G2 diff --git a/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_proof_2020.py b/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_proof_2020.py index 4900ba7c25..54abb9f7e0 100644 --- a/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_proof_2020.py +++ b/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_proof_2020.py @@ -1,4 +1,5 @@ -from unittest import IsolatedAsyncioTestCase, mock +from unittest import IsolatedAsyncioTestCase +from unittest import mock import pytest from aries_cloudagent.wallet.key_type import BLS12381G2 diff --git a/aries_cloudagent/vc/vc_ld/tests/test_vc_ld.py b/aries_cloudagent/vc/vc_ld/tests/test_vc_ld.py index 7ed91bc6d1..9fec151e35 100644 --- a/aries_cloudagent/vc/vc_ld/tests/test_vc_ld.py +++ b/aries_cloudagent/vc/vc_ld/tests/test_vc_ld.py @@ -1,4 +1,5 @@ -from unittest import IsolatedAsyncioTestCase, mock +from unittest import IsolatedAsyncioTestCase +from unittest import mock from datetime import datetime import pytest diff --git a/aries_cloudagent/wallet/tests/test_crypto.py b/aries_cloudagent/wallet/tests/test_crypto.py index 43b0d03452..bac2d10cd2 100644 --- a/aries_cloudagent/wallet/tests/test_crypto.py +++ b/aries_cloudagent/wallet/tests/test_crypto.py @@ -1,7 +1,8 @@ import pytest import json -from unittest import mock, TestCase +from unittest import mock +from unittest import TestCase from ..key_type import BLS12381G1, ED25519 from ..error import WalletError