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