示例#1
0
 def test_get_transactions_test_unused(self):
     assert (len(
         BitcoreAPI.get_transactions(TEST_ADDRESS_UNUSED,
                                     network="testnet")) == 0)
示例#2
0
 def test_get_transactions_return_type(self):
     assert iter(
         BitcoreAPI.get_transactions(MAIN_ADDRESS_USED1, network="mainnet"))
示例#3
0
 def test_get_transactions_main_unused(self):
     assert (len(
         BitcoreAPI.get_transactions(MAIN_ADDRESS_UNUSED,
                                     network="mainnet")) == 0)
示例#4
0
 def test_get_transactions_main_unused(self):
     assert len(BitcoreAPI.get_transactions(MAIN_ADDRESS_UNUSED)) == 0