nvchecker/tests/test_hackage.py

13 lines
328 B
Python
Raw Normal View History

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