Beispiel #1
0
 def test_get_transactions_used(self):
     assert len(BlockchainAPI.get_transactions(MAIN_ADDRESS_USED1)) >= 236
Beispiel #2
0
 def test_get_transactions_unused(self):
     assert len(BlockchainAPI.get_transactions(MAIN_ADDRESS_UNUSED)) == 0
Beispiel #3
0
 def test_get_transactions_return_type(self):
     assert iter(BlockchainAPI.get_transactions(MAIN_ADDRESS_USED1))