Skip to content

Commit

Permalink
Added file with no permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Nithin Bodanapu committed Dec 11, 2024
1 parent a892e75 commit 932b4f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file.
2 changes: 1 addition & 1 deletion tests/tests_integration/test_file_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def load_file_from_path() -> BinaryIO:
with jsonlines.open(current_dir.joinpath(LOG_FAILURE_FILE)) as reader:
for obj in reader:
assert FILE_REASON_MAP_KEY in obj
assert "FileNotFoundError" in obj[FILE_REASON_MAP_KEY][NO_PERMISSION_FILE]
assert "Permission denied" in obj[FILE_REASON_MAP_KEY][NO_PERMISSION_FILE]

os.remove(current_dir.joinpath(LOG_FAILURE_FILE))

Expand Down

0 comments on commit 932b4f1

Please sign in to comment.