diff --git a/acceptance/python/src/test_zenroom.py b/acceptance/python/src/test_zenroom.py index 24f9a0e..1b9ea14 100644 --- a/acceptance/python/src/test_zenroom.py +++ b/acceptance/python/src/test_zenroom.py @@ -2,8 +2,8 @@ import os import json import base58 from hashlib import sha3_256 -from cryptoconditions.types.ed25519 import Ed25519Sha256 -from cryptoconditions.types.zenroom import ZenroomSha256 +from planetmint_cryptoconditions.types.ed25519 import Ed25519Sha256 +from planetmint_cryptoconditions.types.zenroom import ZenroomSha256 from zenroom import zencode_exec from planetmint_driver import Planetmint from planetmint_driver.crypto import generate_keypair diff --git a/integration/python/src/test_threshold.py b/integration/python/src/test_threshold.py index 07c76e1..9e9a843 100644 --- a/integration/python/src/test_threshold.py +++ b/integration/python/src/test_threshold.py @@ -10,7 +10,7 @@ import json # For this test case we need the planetmint_driver.crypto package import base58 import sha3 -from cryptoconditions import Ed25519Sha256, ThresholdSha256 +from planetmint_cryptoconditions import Ed25519Sha256, ThresholdSha256 from planetmint_driver.crypto import generate_keypair # Import helper to deal with multiple nodes diff --git a/integration/python/src/test_zenroom.py b/integration/python/src/test_zenroom.py index 6591314..1f33ca0 100644 --- a/integration/python/src/test_zenroom.py +++ b/integration/python/src/test_zenroom.py @@ -1,7 +1,7 @@ import json import base58 from hashlib import sha3_256 -from cryptoconditions.types.zenroom import ZenroomSha256 +from planetmint_cryptoconditions.types.zenroom import ZenroomSha256 from planetmint_driver.crypto import generate_keypair from .helper.hosts import Hosts from zenroom import zencode_exec diff --git a/tests/db/test_planetmint_api.py b/tests/db/test_planetmint_api.py index 98dcb55..f0bcbc0 100644 --- a/tests/db/test_planetmint_api.py +++ b/tests/db/test_planetmint_api.py @@ -86,7 +86,7 @@ class TestBigchainApi(object): @pytest.mark.usefixtures("inputs") def test_non_create_input_not_found(self, b, user_pk): - from cryptoconditions import Ed25519Sha256 + from planetmint_cryptoconditions import Ed25519Sha256 from transactions.common.exceptions import InputDoesNotExist from transactions.common.transaction import Input, TransactionLink diff --git a/tests/validation/test_transaction_structure.py b/tests/validation/test_transaction_structure.py index e13a376..ed6eae3 100644 --- a/tests/validation/test_transaction_structure.py +++ b/tests/validation/test_transaction_structure.py @@ -232,7 +232,7 @@ def test_handle_threshold_overflow(): def test_unsupported_condition_type(): - from cryptoconditions.exceptions import UnsupportedTypeError + from planetmint_cryptoconditions.exceptions import UnsupportedTypeError with pytest.raises(UnsupportedTypeError): _fulfillment_from_details({"type": "a"}) diff --git a/tests/web/test_transactions.py b/tests/web/test_transactions.py index 89e93e6..e4e8007 100644 --- a/tests/web/test_transactions.py +++ b/tests/web/test_transactions.py @@ -8,7 +8,7 @@ import base58 import pytest from unittest.mock import Mock, patch -from cryptoconditions import Ed25519Sha256 +from planetmint_cryptoconditions import Ed25519Sha256 from ipld import multihash, marshal from hashlib import sha3_256