示例#1
0
 def test_get_transactions_test_used(self):
     assert len(
         BlockrAPI.get_transactions_testnet(TEST_ADDRESS_USED1)) >= 200
示例#2
0
 def test_get_transactions_test_unused(self):
     assert len(
         BlockrAPI.get_transactions_testnet(TEST_ADDRESS_UNUSED)) == 0
示例#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))