Fix test_{archpkg,pacman}

Apparently the ipw2100-fw package is dropped. I switched to another
package that is rarely updated.
This commit is contained in:
Chih-Hsuan Yen 2022-10-29 14:21:02 +08:00
parent 51ffbbdf61
commit 3d3d8c6136
2 changed files with 8 additions and 8 deletions

View File

@ -7,16 +7,16 @@ pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
@flaky @flaky
async def test_archpkg(get_version): async def test_archpkg(get_version):
assert await get_version("ipw2100-fw", { assert await get_version("base", {
"source": "archpkg", "source": "archpkg",
}) == "1.3-10" }) == "3-1"
@flaky @flaky
async def test_archpkg_strip_release(get_version): async def test_archpkg_strip_release(get_version):
assert await get_version("ipw2100-fw", { assert await get_version("base", {
"source": "archpkg", "source": "archpkg",
"strip_release": True, "strip_release": True,
}) == "1.3" }) == "3"
@flaky @flaky
async def test_archpkg_provided(get_version): async def test_archpkg_provided(get_version):

View File

@ -11,12 +11,12 @@ pytestmark = [pytest.mark.asyncio,
reason="requires synced pacman databases")] reason="requires synced pacman databases")]
async def test_pacman(get_version): async def test_pacman(get_version):
assert await get_version("ipw2100-fw", { assert await get_version("base", {
"source": "pacman", "source": "pacman",
}) == "1.3-10" }) == "3-1"
async def test_pacman_strip_release(get_version): async def test_pacman_strip_release(get_version):
assert await get_version("ipw2100-fw", { assert await get_version("base", {
"source": "pacman", "source": "pacman",
"strip_release": 1, "strip_release": 1,
}) == "1.3" }) == "3"