From 3c05d619ef6161820599b00b5acb1b7d4c020b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Tue, 23 Jul 2024 08:38:28 +0000 Subject: [PATCH 1/2] =?UTF-8?q?update=20cases/smoke/basic/screenshot32/new?= =?UTF-8?q?=5Fscript/resource/acl=5Fwhitelist.json.=20=E8=B0=83=E6=95=B4ac?= =?UTF-8?q?l=E5=90=8D=E5=8D=95=E4=BB=A5=E5=BC=80=E5=90=AF=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 贾孟元 --- .../basic/screenshot32/new_script/resource/acl_whitelist.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cases/smoke/basic/screenshot32/new_script/resource/acl_whitelist.json b/cases/smoke/basic/screenshot32/new_script/resource/acl_whitelist.json index 795c7e2..ce1b2fc 100644 --- a/cases/smoke/basic/screenshot32/new_script/resource/acl_whitelist.json +++ b/cases/smoke/basic/screenshot32/new_script/resource/acl_whitelist.json @@ -273,7 +273,8 @@ { "processName": "el5_filekey_manager", "acls": [ - "ohos.permission.MONITOR_DEVICE_NETWORK_STATE" + "ohos.permission.MONITOR_DEVICE_NETWORK_STATE", + "ohos.permission.STORAGE_MANAGER_CRYPT" ] } , -- Gitee From 939f36e8404c51a933dc4cade9a452314308269e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Tue, 23 Jul 2024 08:39:00 +0000 Subject: [PATCH 2/2] =?UTF-8?q?update=20cases/smoke/basic/screenshot32/new?= =?UTF-8?q?=5Fscript/testcases/test=5Facl=5Fcheck.py.=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?acl=E5=90=8D=E5=8D=95=E4=BB=A5=E5=BC=80=E5=90=AF=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 贾孟元 --- .../basic/screenshot32/new_script/testcases/test_acl_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cases/smoke/basic/screenshot32/new_script/testcases/test_acl_check.py b/cases/smoke/basic/screenshot32/new_script/testcases/test_acl_check.py index 78825e3..1c8995e 100644 --- a/cases/smoke/basic/screenshot32/new_script/testcases/test_acl_check.py +++ b/cases/smoke/basic/screenshot32/new_script/testcases/test_acl_check.py @@ -8,7 +8,7 @@ import pytest class Test: @pytest.mark.parametrize('setup_teardown', [None], indirect=True) def test(self, setup_teardown, device): - return + #return check_list_file = os.path.join(device.resource_path, 'acl_whitelist.json') assert os.path.exists(check_list_file), '{} not exist'.format(check_list_file) logging.info('reading {} content'.format(check_list_file)) -- Gitee