mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-18 12:45:00 +00:00
471b66ff4c
flaky is no longer compatible with pytest 8.0 and seems unmaintained. https://github.com/pytest-dev/pytest/issues/12066
12 lines
331 B
Python
12 lines
331 B
Python
# MIT licensed
|
|
# Copyright (c) 2013-2020 lilydjwg <lilydjwg@gmail.com>, et al.
|
|
|
|
import pytest
|
|
pytestmark = [pytest.mark.asyncio(scope="session"), pytest.mark.needs_net]
|
|
|
|
@pytest.mark.flaky(reruns=10)
|
|
async def test_hackage(get_version):
|
|
assert await get_version("sessions", {
|
|
"source": "hackage",
|
|
}) == "2008.7.18"
|