X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tests%2Fintegration%2Fnfsimulator%2Fnetconf-server%2Fresources%2Fnetconf-server-keywords.robot;h=43a02e674e976de8bec2fddc30fd20ccaf69e419;hb=3fbb3ba0c6f6c9653059a9eed5ebfa5ecd33efa0;hp=9dccd0487b1fb75a0855bd57bc4534eb8fc75b59;hpb=7ff5a26a03c873246663c8145e69e5b6ab39b3ff;p=integration%2Fcsit.git diff --git a/tests/integration/nfsimulator/netconf-server/resources/netconf-server-keywords.robot b/tests/integration/nfsimulator/netconf-server/resources/netconf-server-keywords.robot index 9dccd048..43a02e67 100644 --- a/tests/integration/nfsimulator/netconf-server/resources/netconf-server-keywords.robot +++ b/tests/integration/nfsimulator/netconf-server/resources/netconf-server-keywords.robot @@ -37,3 +37,13 @@ Verify That Change Is Available In NetConf Module Change Configuration History Should Be Equal As Strings ${resp.status_code} ${resp_code} ${actual_data}= Convert To String ${resp.json()} Should Be Equal ${actual_data} [{u'new': {u'path': u'/pnf-simulator:config/itemValue1', u'value': 42}, u'type': u'ChangeCreated'}, {u'new': {u'path': u'/pnf-simulator:config/itemValue2', u'value': 35}, u'type': u'ChangeCreated'}] + +Verify That Configuration History Is Available + [Documentation] Verify that configuration is available + [Arguments] ${resp_code} + + Create Session netconf_server_session ${NETCONF_SERVER_URL} + ${resp}= GET On Session netconf_server_session /get_config/pnf-simulator + Should Be Equal As Strings ${resp.status_code} ${resp_code} + Dictionary Should Contain Item ${resp.json()['config']} itemValue1 ${42} + Dictionary Should Contain Item ${resp.json()['config']} itemValue2 ${35}