Add tests for Android SDK packages

This commit is contained in:
Yen Chi Hsuan 2017-10-29 22:57:59 +08:00
parent 02601c0b58
commit bb3fa58481
1 changed files with 11 additions and 0 deletions

11
tests/test_android.py Normal file
View File

@ -0,0 +1,11 @@
# MIT licensed
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, 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"