Skip to content

Commit

Permalink
Ignore transaction order in unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryp Toon committed Nov 28, 2024
1 parent 68d51db commit ba6b5dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,9 @@ def test_service_gettransactions_testnet4(self):
address = 'tb1qmtrlx4srl87dtcj73ue5gv39907e8n3qu8rs79'
srv = ServiceTest(network='testnet4')
txs = srv.gettransactions(address)
self.assertEqual(txs[0].txid, '481063e15d472e5abb6b407400d8a9fbe20db0b47e27b4fdeef302586bd29eda')
self.assertEqual(txs[1].txid, '53d402b5d4083d685b7ad1f64f614984c0a906436d6e8ab01cc99d250030f84a')
self.assertEqual(txs[1].inputs[0].address, address)
txids = [tx.txid for tx in txs]
self.assertIn(txs[0].txid, txids)
self.assertIn(txs[1].txid, txids)

def test_service_gettransaction_coinbase(self):
expected_dict = {
Expand Down

0 comments on commit ba6b5dc

Please sign in to comment.