From 3a1a9557064c51b1b324e8ebc95b2dcfe30b7cbc Mon Sep 17 00:00:00 2001 From: chbk Date: Sat, 11 Jan 2025 14:32:13 +0100 Subject: [PATCH] chore: isort tests --- tests/auxiliary/helper.py | 2 +- tests/test_merge.py | 1 - tests/test_sbom_functions.py | 5 ++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/auxiliary/helper.py b/tests/auxiliary/helper.py index 89167522..a39b237e 100644 --- a/tests/auxiliary/helper.py +++ b/tests/auxiliary/helper.py @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-3.0-or-later -import typing as t import json +import typing as t def compare_sboms(first_sbom: dict, second_sbom: dict) -> bool: diff --git a/tests/test_merge.py b/tests/test_merge.py index 260cbf31..5b3d3a58 100644 --- a/tests/test_merge.py +++ b/tests/test_merge.py @@ -5,7 +5,6 @@ from cdxev import merge from tests.auxiliary import helper as helper - path_to_folder_with_test_sboms = "tests/auxiliary/test_merge_sboms/" diff --git a/tests/test_sbom_functions.py b/tests/test_sbom_functions.py index d17d5fed..8e5c6573 100644 --- a/tests/test_sbom_functions.py +++ b/tests/test_sbom_functions.py @@ -1,11 +1,10 @@ -import unittest import json +import unittest +from copy import deepcopy from typing import Sequence from cdxev.auxiliary import sbomFunctions as sbF from cdxev.auxiliary.identity import ComponentIdentity -from copy import deepcopy - from tests.auxiliary.helper import load_sections_for_test_sbom, load_sub_program