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