File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class Code(str, Enum):
2525class UnauthorizedError (RuntimeError ):
2626 @staticmethod
2727 def to_operation_outcome () -> dict :
28- msg = f "Unauthorized request"
28+ msg = "Unauthorized request"
2929 return create_operation_outcome (
3030 resource_id = str (uuid .uuid4 ()),
3131 severity = Severity .error ,
@@ -237,7 +237,7 @@ class UnauthorizedSystemError(RuntimeError):
237237 def __init__ (self , message = "Unauthorized system" ):
238238 super ().__init__ (message )
239239 self .message = message
240-
240+
241241 def to_operation_outcome (self ) -> dict :
242242 return create_operation_outcome (
243243 resource_id = str (uuid .uuid4 ()),
Original file line number Diff line number Diff line change @@ -73,5 +73,3 @@ def test_env_mapping(self):
7373 env = "prod"
7474 service = PdsService (None , env )
7575 self .assertTrue (env not in service .base_url )
76-
77-
You can’t perform that action at this time.
0 commit comments