Skip to content

Add tests for IdP-only aggregate #6

Merged
merged 1 commit into from Dec 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions InCommon.robot
@@ -1,4 +1,5 @@
*** Settings ***
Library Collections
Resource MDQ.robot
Variables variables.py

Expand All @@ -12,3 +13,14 @@ URN-Style Entity ID
[Documentation] GET an entity with a URN-style entityID
${resp}= Get Entity baseUrl=${BASE_URL} identifier=${INC_ENTITY_ID_URN}
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
3 changes: 3 additions & 0 deletions variables.py.example
Expand Up @@ -25,3 +25,6 @@ INC_ENTITY_ID_URL_ENCODED = "https:%2F%2Ffm.incommon.org%2Fsp"

# InCommon URN-style entityID
INC_ENTITY_ID_URN = "urn:mace:incommon:internet2.edu"

# InCommon collection of all IdPs
INC_ALL_IDPS = "idps/all"