mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-24 07:32:40 +00:00
15 lines
373 B
Python
15 lines
373 B
Python
# MIT licensed
|
|
# Copyright (c) 2020 Felix Yan <felixonmars@archlinux.org>, et al.
|
|
|
|
import pytest
|
|
pytestmark = [
|
|
pytest.mark.asyncio(scope="session"),
|
|
pytest.mark.needs_net,
|
|
]
|
|
|
|
async def test_mercurial(get_version):
|
|
assert await get_version("example", {
|
|
"source": "mercurial",
|
|
"mercurial": "https://repo.mercurial-scm.org/hg-website/json-tags",
|
|
}) == "v1.0"
|