From 0c13ce2411ebdae1a3412f276c8b5e0cbad1b513 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Mon, 16 Dec 2024 20:39:18 +0100 Subject: [PATCH] fix tests --- tests/agents/microchain/test_messages_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/agents/microchain/test_messages_functions.py b/tests/agents/microchain/test_messages_functions.py index 45818685..ef91bcae 100644 --- a/tests/agents/microchain/test_messages_functions.py +++ b/tests/agents/microchain/test_messages_functions.py @@ -80,7 +80,7 @@ def patch_spice() -> Generator[PropertyMock, None, None]: def patch_send_xdai() -> Generator[PropertyMock, None, None]: # Note that we patch where the function is called (see https://docs.python.org/3/library/unittest.mock.html#where-to-patch). with patch( - "prediction_market_agent.agents.microchain_agent.messages_functions.send_xdai_to", + "prediction_market_agent.agents.microchain_agent.nft_treasury_game.messages_functions.send_xdai_to", return_value={"transactionHash": HexBytes(MOCK_HASH_1)}, ) as mock_send_xdai: yield mock_send_xdai