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:
parent
51ffbbdf61
commit
3d3d8c6136
|
@ -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):
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue