nvchecker/tests/test_aur.py
2017-11-05 16:41:06 +08:00

15 lines
393 B
Python

# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
from flaky import flaky
import pytest
pytestmark = pytest.mark.asyncio
@flaky
async def test_aur(get_version):
assert await get_version("ssed", {"aur": None}) == "3.62-2"
@flaky
async def test_aur_strip_release(get_version):
assert await get_version("ssed", {"aur": None, "strip-release": 1}) == "3.62"