!468 acl测试开启

Merge pull request !468 from 贾孟元/master
This commit is contained in:
openharmony_ci
2024-07-23 09:20:50 +00:00
committed by Gitee
2 changed files with 3 additions and 2 deletions
@@ -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"
]
}
,
@@ -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))