nvchecker/tests-old/test_sparkle.py
2020-08-17 15:11:14 +08:00

8 lines
294 B
Python

# MIT licensed
# 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", {"sparkle": "https://sparkle-project.org/files/sparkletestcast.xml"}) == "2.0"