mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
Mark ubuntupkg tests as flaky
This commit is contained in:
parent
9085dceeb3
commit
028cf52b2d
1 changed files with 5 additions and 0 deletions
|
@ -1,17 +1,22 @@
|
||||||
# MIT licensed
|
# MIT licensed
|
||||||
# Copyright (c) 2017 Felix Yan <felixonmars@archlinux.org>, et al.
|
# Copyright (c) 2017 Felix Yan <felixonmars@archlinux.org>, et al.
|
||||||
|
|
||||||
|
from flaky import flaky
|
||||||
import pytest
|
import pytest
|
||||||
pytestmark = pytest.mark.asyncio
|
pytestmark = pytest.mark.asyncio
|
||||||
|
|
||||||
|
@flaky
|
||||||
async def test_ubuntupkg(get_version):
|
async def test_ubuntupkg(get_version):
|
||||||
assert await get_version("sigrok-firmware-fx2lafw", {"ubuntupkg": None}) == "0.1.3-1"
|
assert await get_version("sigrok-firmware-fx2lafw", {"ubuntupkg": None}) == "0.1.3-1"
|
||||||
|
|
||||||
|
@flaky
|
||||||
async def test_ubuntupkg_strip_release(get_version):
|
async def test_ubuntupkg_strip_release(get_version):
|
||||||
assert await get_version("sigrok-firmware-fx2lafw", {"ubuntupkg": None, "strip-release": 1}) == "0.1.3"
|
assert await get_version("sigrok-firmware-fx2lafw", {"ubuntupkg": None, "strip-release": 1}) == "0.1.3"
|
||||||
|
|
||||||
|
@flaky
|
||||||
async def test_ubuntupkg_suite(get_version):
|
async def test_ubuntupkg_suite(get_version):
|
||||||
assert await get_version("sigrok-firmware-fx2lafw", {"ubuntupkg": None, "suite": "xenial"}) == "0.1.2-1"
|
assert await get_version("sigrok-firmware-fx2lafw", {"ubuntupkg": None, "suite": "xenial"}) == "0.1.2-1"
|
||||||
|
|
||||||
|
@flaky
|
||||||
async def test_ubuntupkg_suite_with_paging(get_version):
|
async def test_ubuntupkg_suite_with_paging(get_version):
|
||||||
assert await get_version("ffmpeg", {"ubuntupkg": None, "suite": "vivid"}) == "7:2.5.10-0ubuntu0.15.04.1"
|
assert await get_version("ffmpeg", {"ubuntupkg": None, "suite": "vivid"}) == "7:2.5.10-0ubuntu0.15.04.1"
|
||||||
|
|
Loading…
Add table
Reference in a new issue