This repository was archived by the owner on Jun 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,11 +40,13 @@ class ResponseMessage(Message):
4040 }
4141
4242 def verify (self , ** kwargs ):
43+ super (ResponseMessage , self ).verify (** kwargs )
4344 if "error_description" in self :
4445 # Verify that the characters used are within the allow ranges
4546 # %x20-21 / %x23-5B / %x5D-7E
4647 if all (x in error_chars for x in self ["error_description" ]):
4748 raise ValueError ("Characters outside allowed set" )
49+ return True
4850
4951
5052class AuthorizationErrorResponse (ResponseMessage ):
Original file line number Diff line number Diff line change @@ -385,6 +385,7 @@ def test_deserialize(self):
385385 pcr = ProviderConfigurationResponse ().deserialize (json .dumps (resp ),
386386 "json" )
387387
388+ # Missing subject_types_supported
388389 with pytest .raises (MissingRequiredAttribute ):
389390 assert pcr .verify ()
390391
You can’t perform that action at this time.
0 commit comments