You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
990 B
21 lines
990 B
*** Settings ***
|
|
Library RequestsLibrary
|
|
Library Collections
|
|
Library urllib3
|
|
|
|
*** Test Cases ***
|
|
customer_get_credit_qniao
|
|
Disable Warnings
|
|
Create Session yytclient ${yytclient} headers=${cloudfactory_customer_header}
|
|
${response} Get On Session yytclient /cloud-print-user-center/credit/get/self-enterprise-credit-by-enterprise-id
|
|
log ${response.json()}
|
|
Should Be Equal As Numbers 200 ${response.status_code}
|
|
Should Be Equal As Strings successful ${response.json()["message"]}
|
|
|
|
customer_get_credit_feisuan
|
|
Disable Warnings
|
|
Create Session yytclient ${yytclient} headers=${cloudfactory_customer_header}
|
|
${response} Get On Session yytclient /cloud-print-user-center/credit/get/enterprise-feisuan-credit
|
|
log ${response.json()}
|
|
Should Be Equal As Numbers 200 ${response.status_code}
|
|
Should Be Equal As Strings successful ${response.json()["message"]}
|