test(cli): ✅ add tests for prune command

add tests for prune command and some code optimization and formatting.
This commit is contained in:
2026-09-25 17:59:27 +02:00
parent 48503cdd42
commit e50797bba6
4 changed files with 91 additions and 22 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ def _test_write_log_report(
SourceType.FILE,
relevant,
irrelevant,
datetime.now(FRENCH_TIMEZONE).strftime(DATETIME_FORMAT),
today,
start_date,
end_date,
nb_files,