From 375aa06b50f0070c21edcc781d51f100848691eb Mon Sep 17 00:00:00 2001 From: mipengwei Date: Mon, 18 Jul 2022 02:41:33 +0000 Subject: [PATCH] Signed-off-by:mipengwei --- src/core/command/display.py | 2 +- src/core/driver/drivers.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/command/display.py b/src/core/command/display.py index 15d0269..5832316 100755 --- a/src/core/command/display.py +++ b/src/core/command/display.py @@ -297,7 +297,7 @@ def show_subsystem_list(product_form): def show_acts_subsystem_list(): print("List of currently supported acts subsystem names:") sub_list = ['global', 'security', 'useriam', 'multimedia', 'appexecfwk', 'account', 'communication', 'notification', - 'ability', 'miscservices', 'powermgr', 'startup', 'sensor', 'distributeddatamgr', 'update', 'graphic','arkui', + 'ability', 'miscservices', 'powermgr', 'startup', 'sensor', 'distributeddatamgr', 'update', 'graphic', 'arkui', 'storage', 'compileruntime', 'usb', 'multimodalinput', 'resourceschedule', 'telephony', 'hiviewdfx', 'location', 'barrierfree', 'customization'] sub_list.sort() diff --git a/src/core/driver/drivers.py b/src/core/driver/drivers.py index 524ca34..9ce774a 100755 --- a/src/core/driver/drivers.py +++ b/src/core/driver/drivers.py @@ -674,7 +674,7 @@ class JSUnitTestDriver(IDriver): timeout = ResourceManager.get_nodeattrib_data(resource_data_dic) else: timeout = ResourceManager.get_nodeattrib_data(resource_data_dic) - resource_manager.process_preparer_data(resource_data_dic, resource_dir,self.config.device) + resource_manager.process_preparer_data(resource_data_dic, resource_dir, self.config.device) main_result = self._install_hap(suite_file) result = ResultManager(suite_file, self.config) if main_result: @@ -686,7 +686,7 @@ class JSUnitTestDriver(IDriver): if timeout: actiontime = timeout times = 1 - device_log_file_open = os.open(device_log_file, os.O_RDONLY,stat.S_IWUSR | stat.S_IRUSR) + device_log_file_open = os.open(device_log_file, os.O_RDONLY, stat.S_IWUSR | stat.S_IRUSR) with os.fdopen(device_log_file_open, "r", encoding='utf-8') \ as file_read_pipe: for i in range(0, times): @@ -710,7 +710,7 @@ class JSUnitTestDriver(IDriver): self.result = result.get_test_results("Error: install hap failed") LOG.error("Error: install hap failed") - resource_manager.process_cleaner_data(resource_data_dic, resource_dir,self.config.device) + resource_manager.process_cleaner_data(resource_data_dic, resource_dir, self.config.device) def generate_console_output(self, device_log_file, request): result_message = self.read_device_log(device_log_file) -- Gitee