Merge pull request #198 from yan12125/relax-test-anitya
anitya: relax the test - shutter is updated often these days
This commit is contained in:
commit
20183a83e5
|
@ -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