Skip to content
Permalink
Browse files

Add tests for IdP-only aggregate (#6) (MDQ-162)

  • Loading branch information
dshafer committed Dec 7, 2018
1 parent 2af9988 commit bb06f3cfe2bb940160b0f8800c17917832c936ae
Showing with 15 additions and 0 deletions.
  1. +12 −0 InCommon.robot
  2. +3 −0 variables.py.example
@@ -1,4 +1,5 @@
*** Settings ***
Library Collections
Resource MDQ.robot
Variables variables.py

@@ -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
@@ -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"

0 comments on commit bb06f3c

Please sign in to comment.
You can’t perform that action at this time.