Skip to content

Commit

Permalink
Add test_resolve_symbol function to test resolving token symbol.
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Jul 13, 2024
1 parent de03ca9 commit 778d787
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_unit_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ async def test_resolve_symbol(dex_client):
assert result.address == "0x514910771AF9Ca656af840dff83E8264EcF986CA"


@pytest.mark.asyncio
async def test_resolve_symbol(dex_client):
result = await dex_client.resolve_token(symbol="PEPE")
assert result.address == "0x6982508145454ce325ddbe47a25d4ec3d2311933

@pytest.mark.asyncio
async def test_get_order_amount(dex_client):
sell_token = AsyncMock()
Expand Down

0 comments on commit 778d787

Please sign in to comment.