refactor the data generation code
[integration/test.git] / csit / suites / usc / channel / USC_CHANNEL.robot
1 *** Settings ***
2 Documentation     Test suite for usc channel functionality
3 Suite Setup       Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
4 Suite Teardown    Delete All Sessions
5 Library           RequestsLibrary
6 Library           ../../../libraries/Common.py
7 Variables         ../../../variables/Variables.py
8 Resource          ../../../libraries/Utils.robot
9
10 *** Variables ***
11
12 *** Test Cases ***
13 Get Controller Modules
14     [Documentation]    Get the controller modules via Restconf
15     ${resp}    RequestsLibrary.Get Request    session    ${MODULES_API}
16     Log    ${resp.content}
17     Should Be Equal As Strings    ${resp.status_code}    200
18     Should Contain    ${resp.content}    ietf-restconf