
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"


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 :-(

  
  from flaky import flaky
  import pytest
  pytestmark = pytest.mark.asyncio
  
- @flaky(max_runs=5)
+ @flaky
  async def test_aur(get_version):
      assert await get_version("asciidoc-fake", {"aur": None}) == "1.0-1"
  
- @flaky(max_runs=5)
+ @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"
## Code Before:

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"

## Instruction:
Revert "make AUR tests more flaky"
## Code After:

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"
