File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ def get_request(self, request):
139139 def __repr__ (self ):
140140 return f"BearerAuthentication(username={ self .username } , token={ self .api_key } )"
141141
142+
142143class X509Authentication (AuthenticationBase ):
143144 """X509Authentication authentication class.
144145
@@ -157,4 +158,4 @@ def get_request(self, request):
157158 return request
158159
159160 def __repr__ (self ):
160- return f"X509Authentication(cert={ self .cert } , ca_cert={ self .ca_cert } )"
161+ return f"X509Authentication(cert={ self .cert } , ca_cert={ self .ca_cert } )"
Original file line number Diff line number Diff line change @@ -101,4 +101,4 @@ def test_get_request(self):
101101
102102 def test_repr (self ):
103103 s = repr (self .auth )
104- self .assertEqual (s , "X509Authentication(cert=authcert.pm, ca_cert=servercert.pm)" )
104+ self .assertEqual (s , "X509Authentication(cert=authcert.pm, ca_cert=servercert.pm)" )
You can’t perform that action at this time.
0 commit comments