mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-26 16:42:27 +00:00
13 lines
397 B
Python
13 lines
397 B
Python
# MIT licensed
|
|
# Copyright (c) 2020 lilydjwg <lilydjwg@gmail.com>, et al.
|
|
# Copyright (c) 2020 Sunlei <guizaicn@gmail.com>
|
|
|
|
import pytest
|
|
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
|
|
|
|
async def test_sparkle(get_version):
|
|
assert await get_version("example", {
|
|
"source": "sparkle",
|
|
"sparkle": "https://sparkle-project.org/files/sparkletestcast.xml",
|
|
}) == "2.0"
|