Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions indy_node/test/anon_creds/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import json

from indy.anoncreds import issuer_create_and_store_credential_def
from indy.ledger import build_cred_def_request
from indy_node.test.indy_vdr_ledger import build_cred_def_request

from indy_common.state.domain import make_state_path_for_claim_def
from indy_node.test.anon_creds.helper import get_cred_def_id, create_revoc_reg, create_revoc_reg_entry
Expand Down Expand Up @@ -373,4 +373,4 @@ def send_revoc_reg_entry_by_demand(looper,
@pytest.fixture(scope="module")
def create_node_and_not_start(create_node_and_not_start):
create_node_and_not_start.bootstrapper.upload_states()
return create_node_and_not_start
return create_node_and_not_start
2 changes: 1 addition & 1 deletion indy_node/test/anon_creds/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from indy import blob_storage
from indy.anoncreds import issuer_create_and_store_revoc_reg
from indy.ledger import build_revoc_reg_def_request, build_revoc_reg_entry_request
from indy_node.test.indy_vdr_ledger import build_revoc_reg_def_request, build_revoc_reg_entry_request

from plenum.common.types import f

Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/api/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import base58
from indy.anoncreds import issuer_create_schema
from indy.ledger import build_schema_request
from indy_node.test.indy_vdr_ledger import build_schema_request

from indy_common.constants import RS_ID, RS_TYPE, RS_NAME, RS_VERSION, RS_CONTENT
from plenum.common.constants import TXN_TYPE
Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/api/test_attrib_reply.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json

from indy.ledger import build_attrib_request
from indy_node.test.indy_vdr_ledger import build_attrib_request
from indy_node.test.api.helper import validate_write_reply, validate_attrib_txn
from plenum.test.helper import sdk_get_reply, sdk_sign_and_submit_req
from hashlib import sha256
Expand Down
6 changes: 5 additions & 1 deletion indy_node/test/api/test_claim_def_reply.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import json

from indy.anoncreds import issuer_create_and_store_credential_def
from indy.ledger import build_cred_def_request, build_get_schema_request, parse_get_schema_response
from indy_node.test.indy_vdr_ledger import (
build_cred_def_request,
build_get_schema_request,
parse_get_schema_response,
)
from indy_node.test.api.helper import validate_write_reply, validate_claim_def_txn, sdk_write_schema
from plenum.test.helper import sdk_get_reply, sdk_sign_and_submit_req

Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/api/test_nym_reply.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from indy.ledger import build_nym_request
from indy_node.test.indy_vdr_ledger import build_nym_request
from indy_node.test.helper import createHalfKeyIdentifierAndAbbrevVerkey
from indy_node.test.api.helper import validate_write_reply, validate_nym_txn
from plenum.test.helper import sdk_get_reply, sdk_sign_and_submit_req
Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/attrib_txn/test_attrib_txn_digest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json

import pytest
from indy.ledger import build_attrib_request, sign_request
from indy_node.test.indy_vdr_ledger import build_attrib_request, sign_request

from indy_common.types import Request
from plenum.common.request import Request as PRequest
Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/attrib_txn/test_send_get_attr.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import time
from typing import Optional

from indy.ledger import build_get_attrib_request
from indy_node.test.indy_vdr_ledger import build_get_attrib_request
from libnacl.secret import SecretBox
from plenum.common.exceptions import RequestNackedException
from plenum.test.helper import sdk_get_and_check_replies
Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/auth_rule/auth_framework/claim_def.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json

import pytest
from indy.ledger import build_get_schema_request, parse_get_schema_response
from indy_node.test.indy_vdr_ledger import build_get_schema_request, parse_get_schema_response

from indy_common.authorize import auth_map
from indy_common.authorize.auth_actions import ADD_PREFIX, EDIT_PREFIX
Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/auth_rule/auth_framework/disable_taa.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json

import pytest
from indy.ledger import build_acceptance_mechanisms_request
from indy_node.test.indy_vdr_ledger import build_acceptance_mechanisms_request

from indy_common.authorize.auth_actions import ADD_PREFIX
from indy_common.authorize.auth_constraints import AuthConstraint, IDENTITY_OWNER
Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/auth_rule/auth_framework/revoc_reg_def.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json

import pytest
from indy.ledger import build_get_schema_request, parse_get_schema_response
from indy_node.test.indy_vdr_ledger import build_get_schema_request, parse_get_schema_response

from indy_common.state.domain import make_state_path_for_claim_def
from plenum.common.types import OPERATION
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import json

from indy.ledger import build_acceptance_mechanisms_request
from indy_node.test.indy_vdr_ledger import build_acceptance_mechanisms_request

from plenum.common.util import randomString

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json

import pytest
from indy.ledger import build_acceptance_mechanisms_request
from indy_node.test.indy_vdr_ledger import build_acceptance_mechanisms_request

from plenum.common.util import randomString

Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/claim_def/conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json

import pytest
from indy.ledger import parse_get_schema_response, build_get_schema_request
from indy_node.test.indy_vdr_ledger import parse_get_schema_response, build_get_schema_request

from indy_common.config import SCHEMA_ATTRIBUTES_LIMIT
from indy_node.test.api.helper import sdk_write_schema
Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/claim_def/test_send_claim_def.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pytest
from indy.anoncreds import issuer_create_and_store_credential_def, issuer_create_schema
from indy.ledger import build_cred_def_request, build_schema_request
from indy_node.test.indy_vdr_ledger import build_cred_def_request, build_schema_request

from indy_common.constants import REF
from indy_node.test.helper import modify_field
Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/claim_def/test_send_get_claim_def.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import pytest

from indy.anoncreds import issuer_create_and_store_credential_def
from indy.ledger import build_get_cred_def_request, build_cred_def_request
from indy_node.test.indy_vdr_ledger import build_get_cred_def_request, build_cred_def_request

from plenum.common.exceptions import RequestNackedException
from plenum.common.constants import TXN_METADATA, TXN_METADATA_ID
Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/did/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import json

from indy.did import abbreviate_verkey, create_and_store_my_did
from indy.ledger import build_get_nym_request, build_nym_request
from indy_node.test.indy_vdr_ledger import build_get_nym_request, build_nym_request

from plenum.common.util import randomString
from plenum.test.helper import sdk_get_and_check_replies
Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/endorser/helper.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from indy.ledger import append_request_endorser
from indy_node.test.indy_vdr_ledger import append_request_endorser

from plenum.test.helper import sdk_get_and_check_replies, sdk_send_signed_requests, sdk_multisign_request_object

Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/endorser/test_send_by_endorser.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pytest
from indy.did import create_and_store_my_did
from indy.ledger import build_nym_request
from indy_node.test.indy_vdr_ledger import build_nym_request

from indy_common.authorize.auth_actions import ADD_PREFIX
from indy_common.authorize.auth_constraints import AuthConstraint, IDENTITY_OWNER
Expand Down
2 changes: 1 addition & 1 deletion indy_node/test/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import base58
from indy.did import replace_keys_start, replace_keys_apply
from indy.ledger import (
from indy_node.test.indy_vdr_ledger import (
build_attrib_request, build_get_attrib_request,
build_get_auth_rule_request, build_auth_rule_request,
build_auth_rules_request)
Expand Down
Loading