def test_get_raw_transaction(self): assert (BitcoinDotComAPI.get_raw_transaction( MAIN_TX, network="mainnet")["txid"] == MAIN_TX)
def test_get_raw_transaction_testnet(self): assert (BitcoinDotComAPI.get_raw_transaction( TEST_TX, network="testnet")["txid"] == TEST_TX)
def test_get_raw_transaction(self): assert BitcoinDotComAPI.get_raw_transaction(MAIN_TX)['txid'] == MAIN_TX