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

Remove testnet from test_connection

parent 96e98c3a
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ class Testcases(unittest.TestCase):
nodelist = NodeList()
nodelist.update_nodes(steem_instance=Steem(node=nodelist.get_nodes(normal=True, appbase=True), num_retries=10))
b1 = Steem(
node=nodelist.get_testnet(testnet=True, testnetdev=False),
node=nodelist.get_testnet(testnet=False, testnetdev=True),
nobroadcast=True,
num_retries=10
)
......@@ -31,20 +31,11 @@ class Testcases(unittest.TestCase):
def test_default_connection(self):
nodelist = NodeList()
nodelist.update_nodes(steem_instance=Steem(node=nodelist.get_nodes(normal=True, appbase=True), num_retries=10))
b1 = Steem(
node=nodelist.get_testnet(testnet=True, testnetdev=False),
nobroadcast=True,
)
set_shared_steem_instance(b1)
test = Account("beem")
b2 = Steem(
node=nodelist.get_nodes(),
nobroadcast=True,
)
set_shared_steem_instance(b2)
bts = Account("beem")
self.assertEqual(test.steem.prefix, "STX")
self.assertEqual(bts.steem.prefix, "STM")
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