mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-13 02:05:33 +00:00
7055ad555e
It's rebuilt during the last [core] mass rebuilds [1]. [1] https://lists.archlinux.org/pipermail/arch-dev-public/2019-November/029721.html
15 lines
527 B
Python
15 lines
527 B
Python
# MIT licensed
|
|
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
|
|
|
import shutil
|
|
import pytest
|
|
pytestmark = [pytest.mark.asyncio,
|
|
pytest.mark.skipif(shutil.which("pacman") is None,
|
|
reason="requires pacman command")]
|
|
|
|
async def test_pacman(get_version):
|
|
assert await get_version("ipw2100-fw", {"pacman": None}) == "1.3-10"
|
|
|
|
async def test_pacman_strip_release(get_version):
|
|
assert await get_version("ipw2100-fw", {"pacman": None, "strip-release": 1}) == "1.3"
|