nvchecker/tests/test_android.py

12 lines
503 B
Python
Raw Normal View History

2017-10-29 14:57:59 +00:00
# MIT licensed
# Copyright (c) 2017 Yen Chi Hsuan <yan12125 at gmail dot com>
2017-10-29 14:57:59 +00:00
import pytest
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
2017-10-29 14:57:59 +00:00
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"