Skip to content

Commit

Permalink
Properly test unused code in test
Browse files Browse the repository at this point in the history
  • Loading branch information
fselmo committed Feb 3, 2022
1 parent d9da9c5 commit 57135ba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web3/_utils/module_testing/eth_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,13 @@ async def test_async_eth_get_logs_with_logs(
"fromBlock": BlockNumber(0),
"address": emitter_contract_address,
}
result = await async_w3.eth.get_logs(filter_params) # type: ignore
_assert_contains_log(
result,
block_with_txn_with_log,
emitter_contract_address,
txn_hash_with_log
)

@pytest.mark.asyncio
async def test_async_eth_get_logs_with_logs_topic_args(
Expand Down

0 comments on commit 57135ba

Please sign in to comment.