2020-08-17 08:21:02 +00:00
|
|
|
# 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):
|
2022-02-22 12:13:18 +00:00
|
|
|
assert await get_version('example', {
|
|
|
|
'source': 'sparkle',
|
|
|
|
'sparkle': (
|
|
|
|
'https://raw.githubusercontent.com/sparkle-project/Sparkle/'
|
|
|
|
'f453625573fc9a251760b65c74df59023b1471c1/Tests/Resources/'
|
|
|
|
'testlocalizedreleasenotesappcast.xml'
|
|
|
|
),
|
|
|
|
}) == '6.0'
|