Skip to content
Snippets Groups Projects
Commit 0930ed18 authored by Holger's avatar Holger
Browse files

Add Changelog for 0.20.14 and improve unit tests

parent 893b3318
Branches
Tags 0.20.14
No related merge requests found
Changelog
=========
0.20.14
-------
* unit tests fixed
* Account: support for retrieving all delegations (thanks to crookon, PR #129)
* Change recovery account / list recovery account change requests (thanks to crokkon, PR #130)
* Exclude sbd_interest_rate, as it is not present on the VIT blockchain (thanks to svitx, PR #132)
* connect for beempy createwallet (thanks to crokkon, PR #133)
0.20.13
-------
* beempy post improved
......
......@@ -37,7 +37,7 @@ class Testcases(unittest.TestCase):
keys={"active": wif},
num_retries=10
)
cls.account = Account("beembot", full=True, steem_instance=cls.bts)
cls.account = Account("beembot", steem_instance=cls.bts)
set_shared_steem_instance(cls.bts)
def test_account(self):
......@@ -405,7 +405,7 @@ class Testcases(unittest.TestCase):
op["from"])
def test_json_export(self):
account = self.account
account = Account("beembot", steem_instance=self.bts)
if account.steem.rpc.get_use_appbase():
content = self.bts.rpc.find_accounts({'accounts': [account["name"]]}, api="database")["accounts"][0]
else:
......
......@@ -30,12 +30,6 @@ class Testcases(unittest.TestCase):
keys={"active": wif},
num_retries=10
)
cls.testnet = Steem(
node="https://testnet.steemitdev.com",
nobroadcast=True,
keys={"active": wif},
num_retries=10
)
# from getpass import getpass
# self.bts.wallet.unlock(getpass())
set_shared_steem_instance(cls.bts)
......@@ -95,15 +89,8 @@ class Testcases(unittest.TestCase):
self.assertTrue(vote.rep is not None)
self.assertTrue(vote.time is not None)
@parameterized.expand([
("normal"),
("testnet"),
])
def test_keyerror(self, node_param):
if node_param == "normal":
bts = self.bts
else:
bts = self.testnet
def test_keyerror(self):
bts = self.bts
with self.assertRaises(
exceptions.VoteDoesNotExistsException
):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment