nvchecker/tests/test_android.py
Yen Chi Hsuan 5df11f7b1a Improve android_sdk version extractor
* Add README
* Update author info
* Cache repo manifests
2017-11-05 01:29:12 +08:00

12 lines
478 B
Python

# MIT licensed
# Copyright (c) 2017 Yen Chi Hsuan <yan12125 at gmail dot com>
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"