Skip to content
Snippets Groups Projects
Commit 82ed5d36 authored by Holger Nahrstaedt's avatar Holger Nahrstaedt
Browse files

Fix unit test for wallet

parent e575d2e1
No related branches found
No related tags found
No related merge requests found
......@@ -41,14 +41,12 @@ class Testcases(unittest.TestCase):
cls.stm.set_default_account("test")
set_shared_steem_instance(cls.stm)
# self.stm.newWallet("TestingOneTwoThree")
cls.create_wallet(cls)
def create_wallet(self):
self.wallet = Wallet(steem_instance=self.stm)
self.wallet.wipe(True)
self.wallet.newWallet(pwd="TestingOneTwoThree")
self.wallet.unlock(pwd="TestingOneTwoThree")
self.wallet.addPrivateKey(wif)
cls.wallet = Wallet(steem_instance=cls.stm)
cls.wallet.wipe(True)
cls.wallet.newWallet(pwd="TestingOneTwoThree")
cls.wallet.unlock(pwd="TestingOneTwoThree")
cls.wallet.addPrivateKey(wif)
@classmethod
def tearDownClass(cls):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment