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

Fix unit test

parent 46f0a76a
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ class Testcases(unittest.TestCase): ...@@ -30,7 +30,7 @@ class Testcases(unittest.TestCase):
@classmethod @classmethod
def setUpClass(cls): def setUpClass(cls):
nodelist = NodeList() nodelist = NodeList()
nodelist.update_nodes(steem_instance=Steem(node=nodelist.get_nodes(normal=True, appbase=True), num_retries=10)) nodelist.update_nodes(steem_instance=Steem(node=nodelist.get_nodes(normal=True, appbase=True), num_retries=3))
cls.nodes = nodelist.get_nodes(https=False, appbase=False) cls.nodes = nodelist.get_nodes(https=False, appbase=False)
cls.nodes_https = nodelist.get_nodes(wss=False, appbase=False) cls.nodes_https = nodelist.get_nodes(wss=False, appbase=False)
cls.nodes_appbase = nodelist.get_nodes(normal=False) cls.nodes_appbase = nodelist.get_nodes(normal=False)
...@@ -215,4 +215,4 @@ class Testcases(unittest.TestCase): ...@@ -215,4 +215,4 @@ class Testcases(unittest.TestCase):
with self.assertRaises( with self.assertRaises(
exceptions.UnhandledRPCError exceptions.UnhandledRPCError
): ):
rpc.get_block({"block_num": 0}, api="block") rpc.get_block("abcde", api="block")
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