nvchecker/tests/test_hackage.py
2023-12-09 20:38:00 +08:00

13 lines
345 B
Python

# MIT licensed
# Copyright (c) 2013-2020 lilydjwg <lilydjwg@gmail.com>, et al.
from flaky import flaky
import pytest
pytestmark = [pytest.mark.asyncio(scope="session"), pytest.mark.needs_net]
@flaky(max_runs=10)
async def test_hackage(get_version):
assert await get_version("sessions", {
"source": "hackage",
}) == "2008.7.18"