Skip to content

Commit

Permalink
Refactor file names.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Aug 10, 2024
1 parent 19163a7 commit b926a39
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def test_list_files_valid_directory(file_service, mock_file_system_ops):
mock_file_system_ops.walk_directory.assert_called_once_with("/path/to/models")

def test_list_files_invalid_directory(file_service):
# Does not support walking directories outside of the allowed directories
with pytest.raises(ValueError, match="Invalid directory key"):
file_service.list_files("invalid_key")

Expand Down

0 comments on commit b926a39

Please sign in to comment.