From bb3fa58481d58ac7fe9a55e7fabd2b37ce9df7ac Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Sun, 29 Oct 2017 22:57:59 +0800 Subject: [PATCH] Add tests for Android SDK packages --- tests/test_android.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tests/test_android.py diff --git a/tests/test_android.py b/tests/test_android.py new file mode 100644 index 0000000..48d3160 --- /dev/null +++ b/tests/test_android.py @@ -0,0 +1,11 @@ +# MIT licensed +# Copyright (c) 2013-2017 lilydjwg , et al. + +import pytest +pytestmark = pytest.mark.asyncio + +async def test_android_addon(get_version): + assert await get_version("android-google-play-apk-expansion", {"android_sdk": "extras;google;market_apk_expansion", "repo": "addon"}) == "1.r03" + +async def test_android_package(get_version): + assert await get_version("android-sdk-cmake", {"android_sdk": "cmake;", "repo": "package"}) == "3.6.4111459"