mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-25 16:12:39 +00:00
anitya: relax the test - shutter is updated often these days
This commit is contained in:
parent
02515fc82d
commit
44b9f1856f
@ -2,11 +2,14 @@
|
||||
# Copyright (c) 2020 lilydjwg <lilydjwg@gmail.com>, et al.
|
||||
# Copyright (c) 2017 Felix Yan <felixonmars@archlinux.org>, et al.
|
||||
|
||||
import re
|
||||
|
||||
import pytest
|
||||
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
|
||||
|
||||
async def test_anitya(get_version):
|
||||
assert await get_version("shutter", {
|
||||
version = await get_version("shutter", {
|
||||
"source": "anitya",
|
||||
"anitya": "fedora/shutter",
|
||||
}) == "0.97"
|
||||
})
|
||||
assert re.match(r"[0-9.]+", version)
|
||||
|
Loading…
Reference in New Issue
Block a user