1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-07 11:21:30 +01:00
workload-automation/wlauto/workloads/gunbros2/__init__.py
Sebastian Goscik 9707aa6237 Pylint fixes
Pylint now checks for trailing new lines, this commit fixes them.
2016-07-21 16:40:26 +01:00

42 lines
1.2 KiB
Python

# Copyright 2013-2015 ARM Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# pylint: disable=R0801
import os
import time
import tarfile
import shutil
from wlauto import settings
from wlauto.common.android.workload import GameWorkload
from wlauto.exceptions import WorkloadError, DeviceError
from wlauto.utils.misc import check_output
from wlauto.common.resources import ExtensionAsset
class GunBros(GameWorkload):
name = 'gunbros2'
description = """
Gun Bros. 2 game.
"""
package = 'com.glu.gunbros2'
activity = 'com.google.android.vending.expansion.downloader_impl.DownloaderActivity'
asset_file = 'com.glu.gunbros2.tar.gz'
ondevice_asset_root = '/data'
loading_time = 20
install_timeout = 500