Merge pull request #262 from yan12125/fix-tests

tests: update Debian package versions again
This commit is contained in:
依云 2024-04-08 15:06:18 +08:00 committed by GitHub
commit 7960541a34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ async def test_apt(get_version):
"source": "apt", "source": "apt",
"mirror": "http://deb.debian.org/debian/", "mirror": "http://deb.debian.org/debian/",
"suite": "sid", "suite": "sid",
}) == "0.1.7-2" }) == "0.1.7-3"
@pytest.mark.flaky(reruns=10) @pytest.mark.flaky(reruns=10)
async def test_apt_srcpkg(get_version): async def test_apt_srcpkg(get_version):

View File

@ -9,7 +9,7 @@ pytestmark = [pytest.mark.asyncio(scope="session"), pytest.mark.needs_net]
async def test_debianpkg(get_version): async def test_debianpkg(get_version):
assert await get_version("sigrok-firmware-fx2lafw", { assert await get_version("sigrok-firmware-fx2lafw", {
"source": "debianpkg", "source": "debianpkg",
}) == "0.1.7-2" }) == "0.1.7-3"
@pytest.mark.flaky(reruns=10) @pytest.mark.flaky(reruns=10)
async def test_debianpkg_strip_release(get_version): async def test_debianpkg_strip_release(get_version):