From e58bd0e4856c8b64b29abba439cedd4bb600b5e1 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Fri, 12 Apr 2024 12:55:22 +0530 Subject: [PATCH] Remove mbox file from list of files expected to be included --- tests/test_plaintext_to_entries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_plaintext_to_entries.py b/tests/test_plaintext_to_entries.py index ba908997..2951338d 100644 --- a/tests/test_plaintext_to_entries.py +++ b/tests/test_plaintext_to_entries.py @@ -45,7 +45,6 @@ def test_get_plaintext_files(tmp_path): group2_file1 = create_file(tmp_path, filename="group2-file1.markdown") group2_file2 = create_file(tmp_path, filename="group2-file2.markdown") - group2_file3 = create_file(tmp_path, filename="group2-file3.mbox") group2_file4 = create_file(tmp_path, filename="group2-file4.html") # Include via input-file field file1 = create_file(tmp_path, filename="notes.txt") @@ -53,6 +52,7 @@ def test_get_plaintext_files(tmp_path): create_file(tmp_path, filename="group2-unincluded.py") create_file(tmp_path, filename="group2-unincluded.csv") create_file(tmp_path, filename="group2-unincluded.csv") + create_file(tmp_path, filename="group2-file3.mbox") # Not included by any filter create_file(tmp_path, filename="not-included-markdown.md") create_file(tmp_path, filename="not-included-text.txt") @@ -60,7 +60,7 @@ def test_get_plaintext_files(tmp_path): expected_files = set( [ os.path.join(tmp_path, file.name) - for file in [group1_file1, group1_file2, group2_file1, group2_file2, group2_file3, group2_file4, file1] + for file in [group1_file1, group1_file2, group2_file1, group2_file2, group2_file4, file1] ] )