nvchecker/tests/test_anitya.py

13 lines
362 B
Python
Raw Normal View History

2017-07-25 07:23:54 +00:00
# MIT licensed
2020-08-17 08:21:02 +00:00
# Copyright (c) 2020 lilydjwg <lilydjwg@gmail.com>, et al.
2017-07-25 07:23:54 +00:00
# Copyright (c) 2017 Felix Yan <felixonmars@archlinux.org>, et al.
import pytest
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
2017-07-25 07:23:54 +00:00
async def test_anitya(get_version):
2020-08-17 08:21:02 +00:00
assert await get_version("shutter", {
"source": "anitya",
"anitya": "fedora/shutter",
}) == "0.96"