Skip to content

Commit 317434a

Browse files
Fixed Tox issues
1 parent dd6add5 commit 317434a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

SoftLayer/auth.py

+2-1
Original file line numberDiff line numberDiff 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+
142143
class 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})"

tests/auth_tests.py

+1-1
Original file line numberDiff line numberDiff 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)")

0 commit comments

Comments
 (0)