@@ -384,7 +384,7 @@ def test_create_escrow(self):
384384 self .escrow .factory_contract .functions .createEscrow .assert_called_once_with (
385385 token_address , job_requester_id
386386 )
387- mock_create .transact .assert_called_once_with ({} )
387+ mock_create .transact .assert_called_once_with (None )
388388 self .escrow .w3 .eth .wait_for_transaction_receipt .assert_called_once_with (
389389 "tx_hash"
390390 )
@@ -500,7 +500,7 @@ def test_create_fund_and_setup_escrow(self):
500500 escrow_config .manifest ,
501501 escrow_config .hash ,
502502 )
503- mock_create .transact .assert_called_once_with ({} )
503+ mock_create .transact .assert_called_once_with (None )
504504 self .escrow .w3 .eth .wait_for_transaction_receipt .assert_called_once_with (
505505 "tx_hash"
506506 )
@@ -647,7 +647,7 @@ def test_setup(self):
647647 escrow_config .manifest ,
648648 escrow_config .hash ,
649649 )
650- mock_setup .transact .assert_called_once_with ({} )
650+ mock_setup .transact .assert_called_once_with (None )
651651 self .escrow .w3 .eth .wait_for_transaction_receipt .assert_called_once_with (
652652 "tx_hash"
653653 )
@@ -828,7 +828,7 @@ def test_fund(self):
828828 mock_token_contract .functions .transfer .assert_called_once_with (
829829 escrow_address , amount
830830 )
831- mock_transfer .transact .assert_called_once_with ({} )
831+ mock_transfer .transact .assert_called_once_with (None )
832832 self .escrow .w3 .eth .wait_for_transaction_receipt .assert_called_once_with (
833833 "tx_hash"
834834 )
@@ -909,7 +909,7 @@ def test_store_results(self):
909909
910910 self .escrow ._get_escrow_contract .assert_called_once_with (escrow_address )
911911 mock_contract .functions .storeResults .assert_called_once_with (url , hash )
912- mock_store .transact .assert_called_once_with ({} )
912+ mock_store .transact .assert_called_once_with (None )
913913 self .escrow .w3 .eth .wait_for_transaction_receipt .assert_called_once_with (
914914 "tx_hash"
915915 )
@@ -1038,7 +1038,7 @@ def test_store_results_with_funds_to_reserve_positive(self):
10381038 mock_contract .functions .storeResults .assert_called_once_with (
10391039 url , hash , funds_to_reserve
10401040 )
1041- mock_store .transact .assert_called_once_with ({} )
1041+ mock_store .transact .assert_called_once_with (None )
10421042
10431043 def test_store_results_with_funds_to_reserve_zero_allows_empty (self ):
10441044 mock_contract = MagicMock ()
@@ -1119,7 +1119,7 @@ def test_bulk_payout(self):
11191119 mock_contract .functions .bulkPayOut .assert_called_once_with (
11201120 recipients , amounts , final_results_url , final_results_hash , txId , True
11211121 )
1122- mock_bulk .transact .assert_called_once_with ({} )
1122+ mock_bulk .transact .assert_called_once_with (None )
11231123 self .escrow .w3 .eth .wait_for_transaction_receipt .assert_called_once_with (
11241124 "tx_hash"
11251125 )
@@ -1580,7 +1580,7 @@ def test_complete(self):
15801580
15811581 self .escrow ._get_escrow_contract .assert_called_once_with (escrow_address )
15821582 mock_contract .functions .complete .assert_called_once_with ()
1583- mock_complete .transact .assert_called_once_with ({} )
1583+ mock_complete .transact .assert_called_once_with (None )
15841584 self .escrow .w3 .eth .wait_for_transaction_receipt .assert_called_once_with (
15851585 "tx_hash"
15861586 )
@@ -1675,7 +1675,7 @@ def test_request_cancellation(self):
16751675
16761676 self .escrow ._get_escrow_contract .assert_called_once_with (escrow_address )
16771677 mock_contract .functions .requestCancellation .assert_called_once_with ()
1678- mock_request .transact .assert_called_once_with ({} )
1678+ mock_request .transact .assert_called_once_with (None )
16791679 self .assertIsNone (result )
16801680
16811681 def test_request_cancellation_invalid_address (self ):
@@ -1759,7 +1759,7 @@ def test_cancel(self):
17591759 self .assertIsNone (result )
17601760 self .escrow ._get_escrow_contract .assert_called_once_with (escrow_address )
17611761 mock_contract .functions .cancel .assert_called_once_with ()
1762- mock_cancel .transact .assert_called_once_with ({} )
1762+ mock_cancel .transact .assert_called_once_with (None )
17631763 self .escrow .w3 .eth .wait_for_transaction_receipt .assert_called_once_with (
17641764 "tx_hash"
17651765 )
@@ -1869,7 +1869,7 @@ def test_withdraw(self):
18691869
18701870 self .escrow ._get_escrow_contract .assert_called_once_with (escrow_address )
18711871 mock_contract .functions .withdraw .assert_called_once_with (token_address )
1872- mock_withdraw .transact .assert_called_once_with ({} )
1872+ mock_withdraw .transact .assert_called_once_with (None )
18731873 self .escrow .w3 .eth .wait_for_transaction_receipt .assert_called_once_with (
18741874 "tx_hash"
18751875 )
0 commit comments