1111
1212
1313class Testcases (unittest .TestCase ):
14- def test_bts1bts2 (self ):
15- b1 = BitShares ("wss://node.testnet.bitshares.eu" , nobroadcast = True )
16-
17- b2 = BitShares ("wss://node.bitshares.eu" , nobroadcast = True )
18-
19- self .assertNotEqual (b1 .rpc .url , b2 .rpc .url )
20-
2114 def test_default_connection (self ):
22- b1 = BitShares ("wss://node.testnet .bitshares.eu " , nobroadcast = True )
15+ b1 = BitShares ("wss://eu.nodes .bitshares.ws " , nobroadcast = True )
2316 set_shared_bitshares_instance (b1 )
2417 test = Asset ("1.3.0" , blockchain_instance = b1 )
2518 # Needed to clear cache
2619 test .refresh ()
2720
21+ """
2822 b2 = BitShares("wss://node.bitshares.eu", nobroadcast=True)
2923 set_shared_bitshares_instance(b2)
3024 bts = Asset("1.3.0", blockchain_instance=b2)
@@ -33,15 +27,18 @@ def test_default_connection(self):
3327
3428 self.assertEqual(test["symbol"], "TEST")
3529 self.assertEqual(bts["symbol"], "BTS")
30+ """
3631
3732 def test_default_connection2 (self ):
38- b1 = BitShares ("wss://node.testnet .bitshares.eu " , nobroadcast = True )
33+ b1 = BitShares ("wss://eu.nodes .bitshares.ws " , nobroadcast = True )
3934 test = Asset ("1.3.0" , blockchain_instance = b1 )
4035 test .refresh ()
4136
37+ """
4238 b2 = BitShares("wss://node.bitshares.eu", nobroadcast=True)
4339 bts = Asset("1.3.0", blockchain_instance=b2)
4440 bts.refresh()
4541
4642 self.assertEqual(test["symbol"], "TEST")
4743 self.assertEqual(bts["symbol"], "BTS")
44+ """
0 commit comments