Skip to content

Commit

Permalink
Debug tests
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Kulachenko <[email protected]>
  • Loading branch information
vvarg229 committed Oct 24, 2023
1 parent da90d78 commit 8fad7c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_downloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8fad7c2

Please sign in to comment.