mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-27 21:18:59 +00:00
Fix linters/tests CI issues
This commit is contained in:
parent
e046461bfa
commit
77b3dfc61d
@ -399,7 +399,7 @@ class ApkUiautoWorkload(ApkUIWorkload):
|
|||||||
class ApkUiautoJankTestWorkload(ApkUiautoWorkload):
|
class ApkUiautoJankTestWorkload(ApkUiautoWorkload):
|
||||||
|
|
||||||
def __init__(self, target, **kwargs):
|
def __init__(self, target, **kwargs):
|
||||||
super(ApkUiautoWorkload, self).__init__(target, **kwargs)
|
super(ApkUiautoJankTestWorkload, self).__init__(target, **kwargs)
|
||||||
self.gui = UiAutomatorJankTestGUI(self)
|
self.gui = UiAutomatorJankTestGUI(self)
|
||||||
|
|
||||||
|
|
||||||
@ -608,9 +608,6 @@ class UiAutomatorJankTestGUI(UiAutomatorGUI):
|
|||||||
_OUTPUT_GFXINFO_REGEX = re.compile(
|
_OUTPUT_GFXINFO_REGEX = re.compile(
|
||||||
r'INSTRUMENTATION_STATUS: (?P<name>[\w-]+)=(?P<value>[-+\d.]+)')
|
r'INSTRUMENTATION_STATUS: (?P<name>[\w-]+)=(?P<value>[-+\d.]+)')
|
||||||
|
|
||||||
def __init__(self, owner, package=None, klass='UiAutomation', timeout=600):
|
|
||||||
super(UiAutomatorJankTestGUI, self).__init__(owner, package, klass, timeout)
|
|
||||||
|
|
||||||
def init_commands(self):
|
def init_commands(self):
|
||||||
# Let UiAutomatorGUI handle the initialization of instrumented test
|
# Let UiAutomatorGUI handle the initialization of instrumented test
|
||||||
# commands.
|
# commands.
|
||||||
|
@ -17,8 +17,6 @@ from wa import Parameter, ApkUiautoJankTestWorkload, TestPackageHandler
|
|||||||
|
|
||||||
from wa.utils.types import list_of_strs
|
from wa.utils.types import list_of_strs
|
||||||
|
|
||||||
import re
|
|
||||||
|
|
||||||
class Jetnews(ApkUiautoJankTestWorkload):
|
class Jetnews(ApkUiautoJankTestWorkload):
|
||||||
|
|
||||||
name = 'jetnews'
|
name = 'jetnews'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user