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

@@ -147,36 +147,24 @@
 ncio%0A%0A@flaky
-(max_runs=5)
 %0Aasync def t
@@ -268,20 +268,8 @@
 laky
-(max_runs=5)
 %0Aasy

Revert "make AUR tests more flaky"