From 3d3d8c613661bea4718757d855624437ee707191 Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen <1937689+yan12125@users.noreply.github.com> Date: Sat, 29 Oct 2022 14:21:02 +0800 Subject: [PATCH] Fix test_{archpkg,pacman} Apparently the ipw2100-fw package is dropped. I switched to another package that is rarely updated. --- tests/test_archpkg.py | 8 ++++---- tests/test_pacman.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/test_archpkg.py b/tests/test_archpkg.py index b15424e..ac749bd 100644 --- a/tests/test_archpkg.py +++ b/tests/test_archpkg.py @@ -7,16 +7,16 @@ pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net] @flaky async def test_archpkg(get_version): - assert await get_version("ipw2100-fw", { + assert await get_version("base", { "source": "archpkg", - }) == "1.3-10" + }) == "3-1" @flaky async def test_archpkg_strip_release(get_version): - assert await get_version("ipw2100-fw", { + assert await get_version("base", { "source": "archpkg", "strip_release": True, - }) == "1.3" + }) == "3" @flaky async def test_archpkg_provided(get_version): diff --git a/tests/test_pacman.py b/tests/test_pacman.py index 4b1a964..006223f 100644 --- a/tests/test_pacman.py +++ b/tests/test_pacman.py @@ -11,12 +11,12 @@ pytestmark = [pytest.mark.asyncio, reason="requires synced pacman databases")] async def test_pacman(get_version): - assert await get_version("ipw2100-fw", { + assert await get_version("base", { "source": "pacman", - }) == "1.3-10" + }) == "3-1" async def test_pacman_strip_release(get_version): - assert await get_version("ipw2100-fw", { + assert await get_version("base", { "source": "pacman", "strip_release": 1, - }) == "1.3" + }) == "3"