mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
Update tests
This commit is contained in:
parent
d7c553ae94
commit
134a6885f1
3 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ async def test_android_package(get_version):
|
|||
"source": "android_sdk",
|
||||
"android_sdk": "cmake;",
|
||||
"repo": "package",
|
||||
}) == "3.6.4111459"
|
||||
}) == "3.18.1"
|
||||
|
||||
|
||||
async def test_android_package_channel(get_version):
|
||||
|
@ -26,4 +26,4 @@ async def test_android_package_channel(get_version):
|
|||
"android_sdk": "cmake;",
|
||||
"repo": "package",
|
||||
"channel": "beta,dev,canary",
|
||||
}) == "3.18.1"
|
||||
}) == None
|
||||
|
|
|
@ -9,4 +9,4 @@ async def test_anitya(get_version):
|
|||
assert await get_version("shutter", {
|
||||
"source": "anitya",
|
||||
"anitya": "fedora/shutter",
|
||||
}) == "0.94.3"
|
||||
}) == "0.95"
|
||||
|
|
|
@ -16,7 +16,7 @@ async def test_gitlab_blm(get_version):
|
|||
# repo with a custom main branch
|
||||
ver = await get_version("example", {
|
||||
"source": "gitlab",
|
||||
"gitlab": "asus-linux/asus-nb-ctrl",
|
||||
"gitlab": "asus-linux/asusctl",
|
||||
})
|
||||
assert len(ver) == 8
|
||||
assert ver.isdigit()
|
||||
|
|
Loading…
Add table
Reference in a new issue