mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
14 lines
433 B
Python
14 lines
433 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(max_runs=5)
|
|
async def test_aur(get_version):
|
|
assert await get_version("asciidoc-fake", {"aur": None}) == "1.0-1"
|
|
|
|
@flaky(max_runs=5)
|
|
async def test_aur_strip_release(get_version):
|
|
assert await get_version("asciidoc-fake", {"aur": None, "strip-release": 1}) == "1.0"
|