diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2014-03-08 19:41:19 +0100 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2014-03-08 19:41:19 +0100 |
commit | b63a810fa59a95807be6e6194dcfc7dabfdf150c (patch) | |
tree | 52b562fdde834b4b18747d71f8d21e585b8a3045 /tests/test_31_config.py | |
parent | 7b41b464c5bf36206353bb6c8665473bbeadc2e5 (diff) | |
download | pysaml2-b63a810fa59a95807be6e6194dcfc7dabfdf150c.tar.gz |
Refactored class methods
Diffstat (limited to 'tests/test_31_config.py')
-rw-r--r-- | tests/test_31_config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_31_config.py b/tests/test_31_config.py index e8c2c144..043fa121 100644 --- a/tests/test_31_config.py +++ b/tests/test_31_config.py @@ -238,7 +238,7 @@ def test_idp_1(): assert c.endpoint("single_sign_on_service")[0] == 'http://localhost:8088/' attribute_restrictions = c.getattr("policy", - "idp").get_attribute_restriction("") + "idp").get_attribute_restrictions("") assert attribute_restrictions["edupersonaffiliation"][0].match("staff") @@ -253,7 +253,7 @@ def test_idp_2(): BINDING_HTTP_REDIRECT) == ["http://localhost:8088/"] attribute_restrictions = c.getattr("policy", - "idp").get_attribute_restriction("") + "idp").get_attribute_restrictions("") assert attribute_restrictions["edupersonaffiliation"][0].match("staff") |