From 00a337eb2d2256ebdd7b4e9838c842d9c7d92ed3 Mon Sep 17 00:00:00 2001 From: Maksym Date: Wed, 6 Dec 2023 14:32:29 -0500 Subject: [PATCH] fixing test_get_info_from_single_sig --- tests/unittests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unittests.py b/tests/unittests.py index ec7bf18..b1e71f9 100644 --- a/tests/unittests.py +++ b/tests/unittests.py @@ -114,7 +114,9 @@ def test_get_info_from_single_sig(): with open(sig_list_file, 'r') as file: lines = file.readlines() if lines: - sig_file_path = lines[0].strip() + for line in lines: + if "96cb85214535b0f9723a6abc17097821.sig.gz" in line: + sig_file_path = line.strip() else: raise IOError("Signature list file is empty")