ipandstring测试case
This commit is contained in:
14
01-TestCase/tsg_bfapi/ipandstringtest/ipandstring.robot
Normal file
14
01-TestCase/tsg_bfapi/ipandstringtest/ipandstring.robot
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
*** Settings ***
|
||||||
|
Library ipandstring
|
||||||
|
|
||||||
|
|
||||||
|
*** Test Cases ***
|
||||||
|
Step1: test_sum_2
|
||||||
|
# iPv4 需要三个参数 分别表ip的前三位 ,-1代表不指定
|
||||||
|
${ret} ipv4 -1 -1 -1
|
||||||
|
Log To Console ${ret}
|
||||||
|
${sds} ipv6
|
||||||
|
Log To Console ${sds}
|
||||||
|
#参数代表生成多长字符串
|
||||||
|
${asa} getstring 4
|
||||||
|
Log To Console ${asa}
|
||||||
Reference in New Issue
Block a user