mercurial: tests: update asyncio mark
This commit is contained in:
parent
1005bd5f01
commit
4ec12d30fd
|
@ -2,10 +2,13 @@
|
||||||
# Copyright (c) 2020 Felix Yan <felixonmars@archlinux.org>, et al.
|
# Copyright (c) 2020 Felix Yan <felixonmars@archlinux.org>, et al.
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
|
pytestmark = [
|
||||||
|
pytest.mark.asyncio(scope="session"),
|
||||||
|
pytest.mark.needs_net,
|
||||||
|
]
|
||||||
|
|
||||||
async def test_mercurial(get_version):
|
async def test_mercurial(get_version):
|
||||||
assert await get_version("example", {
|
assert await get_version("example", {
|
||||||
"source": "mercurial",
|
"source": "mercurial",
|
||||||
"mercurial": "https://repo.mercurial-scm.org/hg-website/json-tags",
|
"mercurial": "https://repo.mercurial-scm.org/hg-website/json-tags",
|
||||||
}) == "v1.0"
|
}) == "v1.0"
|
||||||
|
|
Loading…
Reference in New Issue