Skip to content

Commit

Permalink
tests:database - update test to match new File.size name
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Oct 31, 2023
1 parent cb4657d commit 2b69a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_file(test_files: Path, test_files_data: dict[str, dict]) -> File:
puid=filedata["matches"]["id"],
relative_path=file.relative_to(test_files),
is_binary=True,
file_size_in_bytes=file.stat().st_size,
size=file.stat().st_size,
signature=filedata["matches"]["format"],
warning="; ".join(filedata["matches"]["warning"]),
action=[
Expand Down

0 comments on commit 2b69a02

Please sign in to comment.