Remove client installation, and use local module with symlink
This commit is contained in:
@@ -1 +1 @@
|
|||||||
../../client
|
../../client/src/ledger_app_clients/ethereum
|
||||||
@@ -2,7 +2,8 @@ import json
|
|||||||
import pytest
|
import pytest
|
||||||
from web3 import Web3
|
from web3 import Web3
|
||||||
|
|
||||||
from ledger_app_clients.ethereum.client import EthAppClient, StatusWord
|
from client.client import EthAppClient, StatusWord
|
||||||
|
|
||||||
from ragger.backend import BackendInterface
|
from ragger.backend import BackendInterface
|
||||||
from ragger.firmware import Firmware
|
from ragger.firmware import Firmware
|
||||||
from ragger.navigator import Navigator, NavInsID
|
from ragger.navigator import Navigator, NavInsID
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
import pytest
|
import pytest
|
||||||
from web3 import Web3
|
from web3 import Web3
|
||||||
|
|
||||||
import ledger_app_clients.ethereum.response_parser as ResponseParser
|
import client.response_parser as ResponseParser
|
||||||
from ledger_app_clients.ethereum.client import EthAppClient, StatusWord
|
from client.client import EthAppClient, StatusWord
|
||||||
from ledger_app_clients.ethereum.settings import SettingID, settings_toggle
|
from client.settings import SettingID, settings_toggle
|
||||||
|
|
||||||
from ragger.backend import BackendInterface
|
from ragger.backend import BackendInterface
|
||||||
from ragger.firmware import Firmware
|
from ragger.firmware import Firmware
|
||||||
from ragger.error import ExceptionRAPDU
|
from ragger.error import ExceptionRAPDU
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
from ledger_app_clients.ethereum.client import EthAppClient
|
from web3 import Web3
|
||||||
import ledger_app_clients.ethereum.response_parser as ResponseParser
|
|
||||||
from ledger_app_clients.ethereum.utils import recover_transaction
|
from client.client import EthAppClient
|
||||||
|
import client.response_parser as ResponseParser
|
||||||
|
from client.utils import recover_transaction
|
||||||
|
|
||||||
from ragger.backend import BackendInterface
|
from ragger.backend import BackendInterface
|
||||||
from ragger.firmware import Firmware
|
from ragger.firmware import Firmware
|
||||||
from ragger.navigator import Navigator, NavInsID
|
from ragger.navigator import Navigator, NavInsID
|
||||||
|
|
||||||
from web3 import Web3
|
|
||||||
|
|
||||||
from constants import ROOT_SNAPSHOT_PATH
|
from constants import ROOT_SNAPSHOT_PATH
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from ledger_app_clients.ethereum.client import EthAppClient, StatusWord
|
from client.client import EthAppClient, StatusWord
|
||||||
import ledger_app_clients.ethereum.response_parser as ResponseParser
|
import client.response_parser as ResponseParser
|
||||||
from ledger_app_clients.ethereum.utils import recover_message
|
from client.utils import recover_message
|
||||||
|
|
||||||
from ragger.error import ExceptionRAPDU
|
from ragger.error import ExceptionRAPDU
|
||||||
from ragger.backend import BackendInterface
|
from ragger.backend import BackendInterface
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
from web3 import Web3
|
from web3 import Web3
|
||||||
|
|
||||||
from ledger_app_clients.ethereum.client import EthAppClient
|
from client.client import EthAppClient
|
||||||
import ledger_app_clients.ethereum.response_parser as ResponseParser
|
import client.response_parser as ResponseParser
|
||||||
from ledger_app_clients.ethereum.utils import recover_transaction
|
from client.utils import recover_transaction
|
||||||
|
|
||||||
from ragger.backend import BackendInterface
|
from ragger.backend import BackendInterface
|
||||||
from ragger.firmware import Firmware
|
from ragger.firmware import Firmware
|
||||||
|
|||||||
@@ -8,11 +8,11 @@ import json
|
|||||||
from typing import Optional
|
from typing import Optional
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
import ledger_app_clients.ethereum.response_parser as ResponseParser
|
import client.response_parser as ResponseParser
|
||||||
from ledger_app_clients.ethereum.utils import recover_message
|
from client.utils import recover_message
|
||||||
from ledger_app_clients.ethereum.client import EthAppClient
|
from client.client import EthAppClient
|
||||||
from ledger_app_clients.ethereum.eip712 import InputData
|
from client.eip712 import InputData
|
||||||
from ledger_app_clients.ethereum.settings import SettingID, settings_toggle
|
from client.settings import SettingID, settings_toggle
|
||||||
|
|
||||||
from ragger.backend import BackendInterface
|
from ragger.backend import BackendInterface
|
||||||
from ragger.firmware import Firmware
|
from ragger.firmware import Firmware
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import pytest
|
import pytest
|
||||||
from ledger_app_clients.ethereum.client import EthAppClient, StatusWord
|
|
||||||
|
from client.client import EthAppClient, StatusWord
|
||||||
|
|
||||||
from ragger.error import ExceptionRAPDU
|
from ragger.error import ExceptionRAPDU
|
||||||
from ragger.backend import BackendInterface
|
from ragger.backend import BackendInterface
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
from typing import Optional, Tuple
|
from typing import Optional, Tuple
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from ledger_app_clients.ethereum.client import EthAppClient, StatusWord
|
from client.client import EthAppClient, StatusWord
|
||||||
import ledger_app_clients.ethereum.response_parser as ResponseParser
|
import client.response_parser as ResponseParser
|
||||||
|
|
||||||
from ragger.error import ExceptionRAPDU
|
from ragger.error import ExceptionRAPDU
|
||||||
from ragger.firmware import Firmware
|
from ragger.firmware import Firmware
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
from typing import Callable, Optional, Any
|
from typing import Callable, Optional, Any
|
||||||
import json
|
import json
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from web3 import Web3
|
from web3 import Web3
|
||||||
|
|
||||||
from ledger_app_clients.ethereum.client import EthAppClient, StatusWord
|
from client.client import EthAppClient, StatusWord
|
||||||
import ledger_app_clients.ethereum.response_parser as ResponseParser
|
import client.response_parser as ResponseParser
|
||||||
from ledger_app_clients.ethereum.utils import get_selector_from_data, recover_transaction
|
from client.utils import get_selector_from_data, recover_transaction
|
||||||
|
|
||||||
from ragger.error import ExceptionRAPDU
|
from ragger.error import ExceptionRAPDU
|
||||||
from ragger.firmware import Firmware
|
from ragger.firmware import Firmware
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
from web3 import Web3
|
from web3 import Web3
|
||||||
|
|
||||||
from ledger_app_clients.ethereum.client import EthAppClient, StatusWord
|
from client.client import EthAppClient, StatusWord
|
||||||
import ledger_app_clients.ethereum.response_parser as ResponseParser
|
import client.response_parser as ResponseParser
|
||||||
from ledger_app_clients.ethereum.utils import recover_transaction
|
from client.utils import recover_transaction
|
||||||
|
|
||||||
from ragger.error import ExceptionRAPDU
|
from ragger.error import ExceptionRAPDU
|
||||||
from ragger.backend import BackendInterface
|
from ragger.backend import BackendInterface
|
||||||
|
|||||||
Reference in New Issue
Block a user