From ad31f565bd96f3604ce198ecf33633e6adc8faf0 Mon Sep 17 00:00:00 2001 From: Florian OMNES Date: Wed, 5 Jan 2022 16:47:47 +0100 Subject: [PATCH] Do not compare any id-*.txt --- src/tests/examples/antares_test_utils.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/tests/examples/antares_test_utils.py b/src/tests/examples/antares_test_utils.py index 412c7fd22a..69d0211f1a 100644 --- a/src/tests/examples/antares_test_utils.py +++ b/src/tests/examples/antares_test_utils.py @@ -94,7 +94,11 @@ def compare_directory(result_dir, reference_dir): assert (result_dir.is_dir()) assert (reference_dir.is_dir()) - uncompared_file_name = ['id-daily.txt', 'id-hourly.txt'] + uncompared_file_name = ['id-hourly.txt', + 'id-daily.txt', + 'id-weekly.txt', + 'id-monthly.txt', + 'id-annual.txt'] for x in result_dir.iterdir(): if x.is_dir():