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 795c7e25..ce1b2fca 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" ] } , 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 78825e39..1c8995ed 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))