Skip to content

Commit

Permalink
fix(sdk): linters in test
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-chupryna committed Nov 14, 2024
1 parent f9c3635 commit 7dfc4ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/tests/test_fs_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,11 @@ def test_get_collection_files_returns_all_files(
for test_file in test_files
}

result_files = {file.file_id: file for file in result}
result_files = {file.file_id: file for file in result if file}

for file_id, expected in expected_files.items():
assert file_id in result_files, f"File ID {file_id} not found in result files."

assert file_id in result_files
file = result_files[file_id]
assert file.key == expected["key"]
assert file.exists == expected["exists"]
Expand Down

0 comments on commit 7dfc4ba

Please sign in to comment.