From be7a3b0cd9934fc7cb7b5a326ced741c3b92e204 Mon Sep 17 00:00:00 2001 From: Holger <holger@nahrstaedt.de> Date: Sun, 25 Nov 2018 21:49:10 +0100 Subject: [PATCH] Remove testnet from test_connection --- tests/beem/test_connection.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tests/beem/test_connection.py b/tests/beem/test_connection.py index 5a529b24..169df547 100644 --- a/tests/beem/test_connection.py +++ b/tests/beem/test_connection.py @@ -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") -- GitLab