From 134a6885f123a3249c8c5cb168d9bae03c0ea585 Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Thu, 6 May 2021 12:44:55 +0800 Subject: [PATCH] Update tests --- tests/test_android_sdk.py | 4 ++-- tests/test_anitya.py | 2 +- tests/test_gitlab.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_android_sdk.py b/tests/test_android_sdk.py index 55413a1..60d4ae4 100644 --- a/tests/test_android_sdk.py +++ b/tests/test_android_sdk.py @@ -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 diff --git a/tests/test_anitya.py b/tests/test_anitya.py index 63f1cb3..bdd2d46 100644 --- a/tests/test_anitya.py +++ b/tests/test_anitya.py @@ -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" diff --git a/tests/test_gitlab.py b/tests/test_gitlab.py index e279b46..6afce5a 100644 --- a/tests/test_gitlab.py +++ b/tests/test_gitlab.py @@ -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()