From d183a6edc330c4169fec5a2c7917b1251be618e6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 9 May 2024 07:54:56 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_ota_metadata.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/tests/test_ota_metadata.py b/tests/test_ota_metadata.py index 398049ee5..9cf4df3af 100644 --- a/tests/test_ota_metadata.py +++ b/tests/test_ota_metadata.py @@ -14,6 +14,7 @@ from __future__ import annotations + import base64 import os import shutil @@ -26,16 +27,13 @@ from cryptography.hazmat.primitives import hashes, serialization from cryptography.hazmat.primitives.asymmetric import ec - -from otaclient.app.ota_metadata import ( - MetadataJWTPayloadInvalid, - MetadataJWTVerificationFailed, - _MetadataJWTParser, - parse_dirs_from_txt, - parse_persistents_from_txt, - parse_regulars_from_txt, - parse_symlinks_from_txt, -) +from otaclient.app.ota_metadata import (MetadataJWTPayloadInvalid, + MetadataJWTVerificationFailed, + _MetadataJWTParser, + parse_dirs_from_txt, + parse_persistents_from_txt, + parse_regulars_from_txt, + parse_symlinks_from_txt) HEADER = """\ {"alg": "ES256"}\