From b2355fb24cb666f52a0d9a373f05fc003748208e Mon Sep 17 00:00:00 2001 From: Rohan Agarwal Date: Tue, 12 Nov 2024 19:35:33 -0500 Subject: [PATCH] tests --- cdp-agentkit-core/tests/actions/wow/test_buy_token.py | 4 ++-- cdp-agentkit-core/tests/actions/wow/test_sell_token.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cdp-agentkit-core/tests/actions/wow/test_buy_token.py b/cdp-agentkit-core/tests/actions/wow/test_buy_token.py index 7c886d1bf..f68245f13 100644 --- a/cdp-agentkit-core/tests/actions/wow/test_buy_token.py +++ b/cdp-agentkit-core/tests/actions/wow/test_buy_token.py @@ -19,11 +19,11 @@ def test_buy_token_input_model_valid(): """Test that WowBuyTokenInput accepts valid parameters.""" input_model = WowBuyTokenInput( contract_address=MOCK_CONTRACT_ADDRESS, - amount_eth=MOCK_AMOUNT_ETH, + amount_eth_in_wei=MOCK_AMOUNT_ETH, ) assert input_model.contract_address == MOCK_CONTRACT_ADDRESS - assert input_model.amount_eth == MOCK_AMOUNT_ETH + assert input_model.amount_eth_in_wei == MOCK_AMOUNT_ETH def test_buy_token_input_model_missing_params(): diff --git a/cdp-agentkit-core/tests/actions/wow/test_sell_token.py b/cdp-agentkit-core/tests/actions/wow/test_sell_token.py index a3b080d0f..a2f004421 100644 --- a/cdp-agentkit-core/tests/actions/wow/test_sell_token.py +++ b/cdp-agentkit-core/tests/actions/wow/test_sell_token.py @@ -19,11 +19,11 @@ def test_sell_token_input_model_valid(): """Test that WowSellTokenInput accepts valid parameters.""" input_model = WowSellTokenInput( contract_address=MOCK_CONTRACT_ADDRESS, - amount_tokens=MOCK_AMOUNT_TOKENS, + amount_tokens_in_wei=MOCK_AMOUNT_TOKENS, ) assert input_model.contract_address == MOCK_CONTRACT_ADDRESS - assert input_model.amount_tokens == MOCK_AMOUNT_TOKENS + assert input_model.amount_tokens_in_wei == MOCK_AMOUNT_TOKENS def test_sell_token_input_model_missing_params():