Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-agarwal-coinbase committed Nov 13, 2024
1 parent 0651f59 commit b2355fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cdp-agentkit-core/tests/actions/wow/test_buy_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
4 changes: 2 additions & 2 deletions cdp-agentkit-core/tests/actions/wow/test_sell_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit b2355fb

Please sign in to comment.