提交 91890dce 编写于 作者: Y yuanyuhang

1

Signed-off-by: Nyuanyuhang <yuanyuhang1@huawei.com>
上级 0fffa929
......@@ -34,8 +34,10 @@ let genHuksOptions = {
async function publicGenerateKeyFunc(srcKeyAlies, genHuksOptionsNONC) {
await generateKey(srcKeyAlies, genHuksOptionsNONC)
.then((data) => {
console.log(`test generateKey data: ${JSON.stringify(data)}`);
console.error(`test generateKey data: ${JSON.stringify(data)}`);
expect(data.errorCode == 0).assertTrue();
expect(data.outData == null).assertTrue();
expect(data.properties == null).assertTrue();
})
.catch((err) => {
console.log('test generateKey err information: ' + JSON.stringify(err));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册