Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed Dec 16, 2024
1 parent 4891cae commit 0c13ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/agents/microchain/test_messages_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c13ce2

Please sign in to comment.