Beispiel #1
0
 def test_get_transactions_main_used(self):
     assert len(BlockrAPI.get_transactions(MAIN_ADDRESS_USED1)) >= 200
Beispiel #2
0
 def test_get_transactions_main_unused(self):
     assert len(BlockrAPI.get_transactions(MAIN_ADDRESS_UNUSED)) == 0
Beispiel #3
0
 def test_get_transactions_return_type(self):
     assert iter(BlockrAPI.get_transactions(MAIN_ADDRESS_USED1))
     assert iter(BlockrAPI.get_transactions_testnet(TEST_ADDRESS_USED1))