mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-27 09:02:19 +00:00
update tests
This commit is contained in:
parent
e8235ee2a2
commit
ac1e248aac
@ -5,10 +5,10 @@ import pytest
|
||||
pytestmark = pytest.mark.asyncio
|
||||
|
||||
async def test_debianpkg(get_version):
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"debianpkg": None}) == "0.1.5-1"
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"debianpkg": None}) == "0.1.6-1"
|
||||
|
||||
async def test_debianpkg_strip_release(get_version):
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"debianpkg": None, "strip-release": 1}) == "0.1.5"
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"debianpkg": None, "strip-release": 1}) == "0.1.6"
|
||||
|
||||
async def test_debianpkg_suite(get_version):
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"debianpkg": None, "suite": "jessie"}) == "0.1.2-1"
|
||||
|
@ -7,11 +7,11 @@ pytestmark = pytest.mark.asyncio
|
||||
|
||||
@flaky
|
||||
async def test_ubuntupkg(get_version):
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"ubuntupkg": None}) == "0.1.5-1"
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"ubuntupkg": None}) == "0.1.6-1"
|
||||
|
||||
@flaky
|
||||
async def test_ubuntupkg_strip_release(get_version):
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"ubuntupkg": None, "strip-release": 1}) == "0.1.5"
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"ubuntupkg": None, "strip-release": 1}) == "0.1.6"
|
||||
|
||||
@flaky
|
||||
async def test_ubuntupkg_suite(get_version):
|
||||
|
Loading…
Reference in New Issue
Block a user