diff --git a/tests/test_mercurial.py b/tests/test_mercurial.py index df92fa0..e35d4c7 100644 --- a/tests/test_mercurial.py +++ b/tests/test_mercurial.py @@ -2,10 +2,13 @@ # Copyright (c) 2020 Felix Yan , et al. 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): - assert await get_version("example", { - "source": "mercurial", - "mercurial": "https://repo.mercurial-scm.org/hg-website/json-tags", - }) == "v1.0" + assert await get_version("example", { + "source": "mercurial", + "mercurial": "https://repo.mercurial-scm.org/hg-website/json-tags", + }) == "v1.0"