diff options
author | jrh3 <jrh3@att.com> | 2019-05-31 11:14:32 -0400 |
---|---|---|
committer | jrh3 <jrh3@att.com> | 2019-05-31 11:14:32 -0400 |
commit | 442a68b08df2c8654d921b562a9462a69a7717a5 (patch) | |
tree | 7b050a75032e4bc810a10b8fc63f0916f8255f05 /tests/policy | |
parent | 2265f9cbfa885dbaecc0fa1d0205aae1aa552bfa (diff) |
Fix policy/pap csit test cases in dublin
Issue-ID: POLICY-1747
Signed-off-by: jrh3 <jrh3@att.com>
Change-Id: I6f5b07ba29c19611d2b8e12c1100c2bbfcc5dc12
Diffstat (limited to 'tests/policy')
-rw-r--r-- | tests/policy/pap/pap-test.robot | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/tests/policy/pap/pap-test.robot b/tests/policy/pap/pap-test.robot index 0a6251de..f2dd61da 100644 --- a/tests/policy/pap/pap-test.robot +++ b/tests/policy/pap/pap-test.robot @@ -57,10 +57,9 @@ QueryPdpGroups ${resp}= Get Request policy /policy/pap/v1/pdps headers=${headers} Log Received response from policy ${resp.text} Should Be Equal As Strings ${resp.status_code} 200 - Should Be Equal As Strings ${resp.json()['groups'][0]['name']} controlloop - Should Be Equal As Strings ${resp.json()['groups'][1]['name']} create.group.request - Should Be Equal As Strings ${resp.json()['groups'][1]['pdpGroupState']} ACTIVE - Should Be Equal As Strings ${resp.json()['groups'][2]['name']} monitoring + Should Be Equal As Strings ${resp.json()['groups'][0]['name']} create.group.request + Should Be Equal As Strings ${resp.json()['groups'][0]['pdpGroupState']} ACTIVE + Should Be Equal As Strings ${resp.json()['groups'][1]['name']} defaultGroup UndeployPolicy [Documentation] Runs Policy PAP Undeploy a Policy from PDP Groups @@ -81,8 +80,8 @@ QueryPdpGroupsAfterUndeploy ${resp}= Get Request policy /policy/pap/v1/pdps headers=${headers} Log Received response from policy ${resp.text} Should Be Equal As Strings ${resp.status_code} 200 - Should Be Equal As Strings ${resp.json()['groups'][1]['name']} create.group.request - Should Be Equal As Strings ${resp.json()['groups'][1]['pdpSubgroups'][0]['policies']} [] + Should Be Equal As Strings ${resp.json()['groups'][0]['name']} create.group.request + Should Be Equal As Strings ${resp.json()['groups'][0]['pdpSubgroups'][0]['policies']} [] DeactivatePdpGroup [Documentation] Runs Policy PAP Change PDP Group State to PASSIVE @@ -113,5 +112,4 @@ QueryPdpGroupsAfterDelete ${resp}= Get Request policy /policy/pap/v1/pdps headers=${headers} Log Received response from policy ${resp.text} Should Be Equal As Strings ${resp.status_code} 200 - Should Be Equal As Strings ${resp.json()['groups'][0]['name']} controlloop - Should Be Equal As Strings ${resp.json()['groups'][1]['name']} monitoring + Should Be Equal As Strings ${resp.json()['groups'][0]['name']} defaultGroup |