We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee8b5d7 commit 3aa3c57Copy full SHA for 3aa3c57
2 files changed
src/onelogin/saml2/auth.py
@@ -315,8 +315,8 @@ def get_attribute(self, name):
315
:param name: Name of the attribute
316
:type name: string
317
318
- :returns: Attribute value if exists or None
319
- :rtype: string
+ :returns: Attribute value(s) if exists or None
+ :rtype: list
320
"""
321
assert isinstance(name, compat.str_type)
322
return self.__attributes.get(name)
tests/src/OneLogin/saml2_tests/auth_test.py
@@ -102,7 +102,6 @@ def testGetSLOresponseUrl(self):
102
slo_url = settings_info['idp']['singleLogoutService']['url']
103
self.assertEqual(auth.get_slo_response_url(), slo_url)
104
105
-
106
def testGetSessionIndex(self):
107
108
Tests the get_session_index method of the OneLogin_Saml2_Auth class
0 commit comments