From 8fad7c2a944934bcfa0336addec0907ceb695cb8 Mon Sep 17 00:00:00 2001 From: Oleg Kulachenko Date: Tue, 24 Oct 2023 19:14:09 +0400 Subject: [PATCH] Debug tests Signed-off-by: Oleg Kulachenko --- tests/test_downloads.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_downloads.py b/tests/test_downloads.py index 3288c4a..ea4aec2 100644 --- a/tests/test_downloads.py +++ b/tests/test_downloads.py @@ -43,12 +43,12 @@ def compare_zip_files(zip_path_1: str, zip_path_2: str) -> bool: if file1.read() != file2.read(): return False - return True + return False def compare_regular_files(file_path_1: str, file_path_2: str) -> bool: with open(file_path_1, "r") as file1, open(file_path_2, "r") as file2: - return file1.read() == file2.read() + return file1.read() != file2.read() def test_file_content(base_url, report_dir):