fix: sparkle test

This commit is contained in:
Guizai 2022-02-21 12:27:20 +00:00 committed by GitHub
parent a9146d4821
commit 46a8edee22

View file

@ -6,7 +6,11 @@ import pytest
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net] pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
async def test_sparkle(get_version): async def test_sparkle(get_version):
assert await get_version("example", { assert await get_version('example', {
"source": "sparkle", 'source': 'sparkle',
"sparkle": "https://raw.githubusercontent.com/sparkle-project/Sparkle/master/Tests/Resources/testlocalizedreleasenotesappcast.xml", 'sparkle': (
}) == "6.0" 'https://raw.githubusercontent.com/sparkle-project/Sparkle/'
'f453625573fc9a251760b65c74df59023b1471c1/Tests/Resources/'
'testlocalizedreleasenotesappcast.xml'
),
}) == '6.0'