fix (接口自动化): 修复Python脚本语法问题
--bug=1006328 --user=赵勇 【github#5787】断言规... https://www.tapd.cn/55049933/s/1042946
This commit is contained in:
parent
7b1447d2c4
commit
037a115c50
|
@ -249,9 +249,9 @@
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
script +=
|
script +=
|
||||||
"\tmsg = \" " + msg + "\";" +
|
"\tmsg = \" " + msg + "\"\n" +
|
||||||
"\tAssertionResult.setFailureMessage(msg);" +
|
"\tAssertionResult.setFailureMessage(msg)" +"\n"+
|
||||||
"\tAssertionResult.setFailure(true);";
|
"\tAssertionResult.setFailure(True)";
|
||||||
|
|
||||||
this.assertion.desc = desc;
|
this.assertion.desc = desc;
|
||||||
this.assertion.script = script;
|
this.assertion.script = script;
|
||||||
|
|
Loading…
Reference in New Issue