mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-27 09:02:19 +00:00
debian API becomes flaky recently
This commit is contained in:
parent
5383fb30e0
commit
c1c531d707
@ -1,14 +1,18 @@
|
||||
# MIT licensed
|
||||
# Copyright (c) 2017 Felix Yan <felixonmars@archlinux.org>, et al.
|
||||
|
||||
from flaky import flaky
|
||||
import pytest
|
||||
pytestmark = pytest.mark.asyncio
|
||||
|
||||
@flaky(max_runs=10)
|
||||
async def test_debianpkg(get_version):
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"debianpkg": None}) == "0.1.6-1"
|
||||
|
||||
@flaky(max_runs=10)
|
||||
async def test_debianpkg_strip_release(get_version):
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"debianpkg": None, "strip-release": 1}) == "0.1.6"
|
||||
|
||||
@flaky(max_runs=10)
|
||||
async def test_debianpkg_suite(get_version):
|
||||
assert await get_version("sigrok-firmware-fx2lafw", {"debianpkg": None, "suite": "jessie"}) == "0.1.2-1"
|
||||
|
Loading…
Reference in New Issue
Block a user