3 from Transaction import Transaction
4 from connection import Connection
5 from UnspentOutputs import UnspentOutputs
8 class TestUTXOMethods(unittest.TestCase):
10 def test_get_block_height(self):
11 con = Connection("http://127.0.0.1:9888")
12 block_height, ret = UnspentOutputs.get_block_height(connection=con)
16 def test_list_UTXO(self):
17 con = Connection("http://127.0.0.1:9888")
18 utxos, ret = UnspentOutputs.list_UTXO(con)
23 if __name__ == '__main__':