Skip to content

Commit

Permalink
Fix the file extension for the test case
Browse files Browse the repository at this point in the history
  • Loading branch information
healthonrails committed Jan 2, 2024
1 parent 32cda93 commit 36229c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_find_most_recent_file(self):
mock_datetime.now.return_value = mock_current_time

# Call the function with the temporary folder
result = find_most_recent_file(self.temp_folder)
result = find_most_recent_file(self.temp_folder, file_ext='.txt')

# Expect the most recent file to be the first in the list (modified 1 day ago)
expected_result = os.path.join(self.temp_folder, "test_file_1.txt")
Expand Down

0 comments on commit 36229c9

Please sign in to comment.