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