Permalink
Browse files
Add tests for IdP-only aggregate (#6) (MDQ-162)
- Loading branch information
Showing
with
15 additions
and
0 deletions.
-
+12
−0
InCommon.robot
-
+3
−0
variables.py.example
|
@@ -1,4 +1,5 @@ |
|
*** Settings ***
|
|
*** Settings ***
|
|
|
|
Library Collections
|
|
Resource MDQ.robot
|
|
Resource MDQ.robot
|
|
Variables variables.py
|
|
Variables variables.py
|
|
|
|
|
|
@@ -12,3 +13,14 @@ URN-Style Entity ID |
|
[Documentation] GET an entity with a URN-style entityID
|
|
[Documentation] GET an entity with a URN-style entityID
|
|
${resp}= Get Entity baseUrl=${BASE_URL} identifier=${INC_ENTITY_ID_URN}
|
|
${resp}= Get Entity baseUrl=${BASE_URL} identifier=${INC_ENTITY_ID_URN}
|
|
Should Be Equal As Strings ${resp.status_code} 200
|
|
Should Be Equal As Strings ${resp.status_code} 200
|
|
|
|
|
|
|
|
All IdPs Collection
|
|
|
|
[Documentation] GET the collection of all IdPs
|
|
|
|
${resp}= Get Entity baseUrl=${BASE_URL} identifier=${INC_ALL_IDPS}
|
|
|
|
Should Be Equal As Strings ${resp.status_code} 200
|
|
|
|
|
|
|
|
All IdPs Collection (Gzip)
|
|
|
|
[Documentation] GET the collection of all IdPs with Gzip compression
|
|
|
|
${resp}= Get Entity With Gzip baseUrl=${BASE_URL} identifier=${INC_ALL_IDPS}
|
|
|
|
Should Be Equal As Strings ${resp.status_code} 200 msg=MUST support gzip compression
|
|
|
|
Dictionary Should Contain Item ${resp.headers} content-encoding gzip msg=MUST support gzip compression
|
|
@@ -25,3 +25,6 @@ INC_ENTITY_ID_URL_ENCODED = "https:%2F%2Ffm.incommon.org%2Fsp" |
|
|
|
|
|
# InCommon URN-style entityID
|
|
# InCommon URN-style entityID
|
|
INC_ENTITY_ID_URN = "urn:mace:incommon:internet2.edu"
|
|
INC_ENTITY_ID_URN = "urn:mace:incommon:internet2.edu"
|
|
|
|
|
|
|
|
# InCommon collection of all IdPs
|
|
|
|
INC_ALL_IDPS = "idps/all"
|