示例#1
0
 def test_getBalance(self):
     account = Account()
     resp = account.get_balance("ANwjGUcVbLXpqbBUWbjUBQWkr4MWVDuJu9")
     self.assertEqual(resp["success"], True)
示例#2
0
 def test_get_delegates(self):
     account = Account()
     resp = account.get_delegates("ANwjGUcVbLXpqbBUWbjUBQWkr4MWVDuJu9", limit=10)
     self.assertEqual(resp["success"], True)
示例#3
0
 def test_get_top_accounts(self):
     account = Account()
     resp = account.get_top_accounts(limit=10)
     self.assertEqual(resp["success"], True)
示例#4
0
 def test_getPublicKey(self):
     account = Account()
     resp = account.get_public_key("ANwjGUcVbLXpqbBUWbjUBQWkr4MWVDuJu9")
     self.assertEqual(resp["success"], True)
示例#5
0
 def test_get_delegate_fee(self):
     account = Account()
     resp = account.get_delegate_fee()
     self.assertEqual(resp["success"], True)
示例#6
0
 def test_getBalanceDevNetwork(self):
     account = Account("dev")
     resp = account.get_balance("DU8i1HWoaaatLKzoA9FJPvX34FdNPzFkYr")
     self.assertEqual(resp["success"], True)
示例#7
0
 def test_getBalanceKapuMainNetwork(self):
     account = Account("kapu")
     resp = account.get_balance("KUQc9hNoG4o81t1gwkYTapPqJrxp8Zxf9Y")
     self.assertEqual(resp["success"], True)
示例#8
0
 def test_get_top_accounts(self):
     account = Account()
     resp = account.get_top_accounts(limit=10)
     self.assertEqual(resp["success"], True)
示例#9
0
 def test_getBalance(self):
     account = Account()
     resp = account.get_balance("ANwjGUcVbLXpqbBUWbjUBQWkr4MWVDuJu9")
     self.assertEqual(resp["success"], True)
示例#10
0
 def test_get_delegates(self):
     account = Account()
     resp = account.get_delegates("ANwjGUcVbLXpqbBUWbjUBQWkr4MWVDuJu9",
                                  limit=10)
     self.assertEqual(resp["success"], True)
示例#11
0
 def test_get_delegate_fee(self):
     account = Account()
     resp = account.get_delegate_fee()
     self.assertEqual(resp["success"], True)
示例#12
0
 def test_getPublicKey(self):
     account = Account()
     resp = account.get_public_key("ANwjGUcVbLXpqbBUWbjUBQWkr4MWVDuJu9")
     self.assertEqual(resp["success"], True)
示例#13
0
 def test_getBalanceKapuMainNetwork(self):
     account = Account("kapu")
     resp = account.get_balance("KUQc9hNoG4o81t1gwkYTapPqJrxp8Zxf9Y")
     self.assertEqual(resp["success"], True)
示例#14
0
 def test_getBalanceDevNetwork(self):
     account = Account("dev")
     resp = account.get_balance("DU8i1HWoaaatLKzoA9FJPvX34FdNPzFkYr")
     self.assertEqual(resp["success"], True)