@@ -298,9 +298,8 @@ def testCheckSettings(self):
298298 self .assertIn ('sp_entityId_not_found' , e .message )
299299 self .assertIn ('sp_acs_not_found' , e .message )
300300
301- #AttributeConsumingService tests
302-
303- #serviceName, requestedAttributes are required
301+ # AttributeConsumingService tests
302+ # serviceName, requestedAttributes are required
304303 settings_info ['sp' ]['attributeConsumingService' ] = [
305304 {
306305 "isDefault" : False ,
@@ -320,11 +319,11 @@ def testCheckSettings(self):
320319 "isDefault" : "False" ,
321320 "serviceName" : {},
322321 "serviceDescription" : ["Test Service" ],
323- "requestedAttributes" : [ {
324- "nameFormat" : "urn:oasis:names:tc:SAML:2.0:attrname-format:uri" ,
325- "friendlyName" : "givenName" ,
326- "isRequired" : "False"
327- }
322+ "requestedAttributes" : [{
323+ "nameFormat" : "urn:oasis:names:tc:SAML:2.0:attrname-format:uri" ,
324+ "friendlyName" : "givenName" ,
325+ "isRequired" : "False"
326+ }
328327 ]
329328 }
330329 ]
@@ -338,7 +337,6 @@ def testCheckSettings(self):
338337 self .assertIn ('sp_attributeConsumingService_serviceName_type_invalid' , e .message )
339338 self .assertIn ('sp_attributeConsumingService_isDefault_type_invalid' , e .message )
340339
341-
342340 settings_info ['idp' ]['entityID' ] = 'entityId'
343341 settings_info ['idp' ]['singleSignOnService' ] = {}
344342 settings_info ['idp' ]['singleSignOnService' ]['url' ] = 'invalid_value'
0 commit comments