Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 5, 2024
1 parent 390235d commit 3b2cda7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/softhsm_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,19 @@ def setup() -> None:
directories.tokendir = {}
objectstore.backend = file
log.level = DEBUG
""".format(softhsm_db)
""".format(
softhsm_db
)
)
else:
softhsm_db = _temp_file()
f.write(
"""
# Generated by test
0:{}
""".format(softhsm_db)
""".format(
softhsm_db
)
)

logging.debug('Initializing the token')
Expand Down

0 comments on commit 3b2cda7

Please sign in to comment.