Skip to content

Commit

Permalink
fix precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroroiz committed Aug 21, 2024
1 parent 32c89ef commit ac715fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion confidant_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ def get_certificate_from_csr(self, ca, csr, validity=120):
try:
response = self._execute_request(
'post',
'{0}/v1/certificates/{1}'.format(
'{0}/v1/certificates/{1}'.format( # noqa: F522
self.config['url'],
ca,
data={
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/confidant_client/client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ def test_validate_config(self):
# invalid token version
token_version=3
)
assert(confidant_client.ConfidantClient(
assert (confidant_client.ConfidantClient(
'http://localhost/',
'alias/authnz-testing',
{'from': 'test', 'to': 'test'},
token_version=1
))
assert(confidant_client.ConfidantClient(
assert (confidant_client.ConfidantClient(
'http://localhost/',
'alias/authnz-testing',
{'from': 'test', 'to': 'test', 'user_type': 'service'}
Expand Down

0 comments on commit ac715fc

Please sign in to comment.