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
|
2019-10-15 09:27:34 +00:00
|
|
|
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",
|
2021-06-03 04:33:07 +00:00
|
|
|
}) == "0.96"
|