review changes with tests
This commit is contained in:
@@ -5,10 +5,18 @@ import os
|
||||
|
||||
# external imports
|
||||
from hexathon import strip_0x, add_0x
|
||||
from pathlib import Path
|
||||
|
||||
import sys
|
||||
path_root = Path('/home/vincent/ida/grassroots/funga-eth/funga/eth/keystore')
|
||||
sys.path.append(str(path_root))
|
||||
print(sys.path)
|
||||
|
||||
# local imports
|
||||
from funga.eth.signer import EIP155Signer
|
||||
from funga.eth.keystore.dict import DictKeystore
|
||||
|
||||
# import dicttest as d
|
||||
from funga.eth.cli.handle import SignRequestHandler
|
||||
from funga.eth.transaction import EIP155Transaction
|
||||
|
||||
@@ -73,7 +81,7 @@ class TestCli(unittest.TestCase):
|
||||
'f86c2a8504a817c8008252089435353535353535353535353535353535353535358203e884deadbeef82466aa0b7c1bbf52f736ada30fe253c7484176f44d6fd097a9720dc85ae5bbc7f060e54a07afee2563b0cf6d00333df51cc62b0d13c63108b2bce54ce2ad24e26ce7b4f25')
|
||||
|
||||
|
||||
def pbkdf2_test(self):
|
||||
def test_pbkdf2(self):
|
||||
keystore_filepath = os.path.join(data_dir, 'foo2.json')
|
||||
address_hex = self.keystore.import_keystore_file(keystore_filepath)
|
||||
logg.debug('getting {}'.format(address_hex))
|
||||
|
||||
Reference in New Issue
Block a user