# 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"

# 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("asciidoc-fake", {"aur": None}) == "1.0-1"

@flaky
async def test_aur_strip_release(get_version):
    assert await get_version("asciidoc-fake", {"aur": None, "strip-release": 1}) == "1.0"

Revert "make AUR tests more flaky"
Revert "make AUR tests more flaky"

This reverts commit 61df628bd8bc97acbed40a4af67b124c47584f5f.

It doesn't help :-(
