mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-02 06:56:12 +02:00
Allow custom file extensions for directory journal
This commit is contained in:
parent
c8c49b1ba2
commit
6b742fd412
6 changed files with 43 additions and 11 deletions
|
@ -51,7 +51,7 @@ def test_get_day_files_expected_filtering(inputs_and_outputs):
|
|||
mock.patch("pathlib.Path.glob", return_value=glob_files),
|
||||
mock.patch.object(pathlib.Path, "is_file", return_value=True),
|
||||
):
|
||||
actual_output = list(Folder._get_day_files(year_month_path))
|
||||
actual_output = list(Folder._get_day_files(year_month_path, ".txt"))
|
||||
actual_output.sort()
|
||||
|
||||
expected_output.sort()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue