<reponame>t0mcr8se/telliot-core<gh_stars>1-10
import pytest

from telliot_core.gas.etherscan_gas import EtherscanGasPrice
from telliot_core.gas.etherscan_gas import EtherscanGasPriceSource


@pytest.mark.asyncio
async def test_etherscan_gas():
    c = EtherscanGasPriceSource()
    result = await c.fetch_new_datapoint()
    assert isinstance(result[0], EtherscanGasPrice)
