File: test_mercurial.py

package info (click to toggle)
python-nvchecker 2.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 736 kB
  • sloc: python: 4,801; makefile: 25
file content (15 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# MIT licensed
# Copyright (c) 2020 Felix Yan <felixonmars@archlinux.org>, et al.

import pytest
pytestmark = [
  pytest.mark.asyncio,
  pytest.mark.needs_net,
]

@pytest.mark.skip
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"