File tree 2 files changed +3
-2
lines changed
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):
139
139
def __repr__ (self ):
140
140
return f"BearerAuthentication(username={ self .username } , token={ self .api_key } )"
141
141
142
+
142
143
class X509Authentication (AuthenticationBase ):
143
144
"""X509Authentication authentication class.
144
145
@@ -157,4 +158,4 @@ def get_request(self, request):
157
158
return request
158
159
159
160
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):
101
101
102
102
def test_repr (self ):
103
103
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