diff --git a/tests/unit/wallet/test_account.py b/tests/unit/wallet/test_account.py index bf152726f..b011d28ac 100644 --- a/tests/unit/wallet/test_account.py +++ b/tests/unit/wallet/test_account.py @@ -36,10 +36,12 @@ class TestAccount(unittest.TestCase): @defer.inlineCallbacks def test_generate_account_from_seed(self): - account = Account.from_seed( - self.ledger, - u"carbon smart garage balance margin twelve chest sword toast envelope bottom stomach ab" - u"sent", u"lbryum", {} + account = Account.from_dict( + self.ledger, { + "seed": + "carbon smart garage balance margin twelve chest sword toas" + "t envelope bottom stomach absent" + } ) self.assertEqual( account.private_key.extended_key_string(), diff --git a/tests/unit/wallet/test_transaction.py b/tests/unit/wallet/test_transaction.py index 404b24071..f4f14f227 100644 --- a/tests/unit/wallet/test_transaction.py +++ b/tests/unit/wallet/test_transaction.py @@ -221,10 +221,12 @@ class TestTransactionSigning(unittest.TestCase): @defer.inlineCallbacks def test_sign(self): - account = self.ledger.account_class.from_seed( - self.ledger, - u"carbon smart garage balance margin twelve chest sword toast envelope bottom stomach ab" - u"sent", u"lbryum", {} + account = self.ledger.account_class.from_dict( + self.ledger, { + "seed": + "carbon smart garage balance margin twelve chest sword toas" + "t envelope bottom stomach absent" + } ) yield account.ensure_address_gap()