mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-12 01:35:49 +00:00
13 lines
345 B
Python
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"
|