From b222f6a60b810406c722a02d92cb963407ad1ed0 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 30 May 2023 15:52:49 -0700 Subject: [PATCH] Mention new verbosity level to NEWS (#484). --- NEWS | 2 ++ tests/unit/commands/test_borgmatic.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 85bfa38..f4e08d8 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ 1.7.14.dev0 + * #484: Add a new verbosity level (-2) to disable output entirely (for console, syslog, log file, + or monitoring), so not even errors are shown. * #688: Tweak archive check probing logic to use the newest timestamp found when multiple exist. * #659: Add Borg 2 date-based matching flags to various actions for archive selection. diff --git a/tests/unit/commands/test_borgmatic.py b/tests/unit/commands/test_borgmatic.py index 9b8bf58..4ca802d 100644 --- a/tests/unit/commands/test_borgmatic.py +++ b/tests/unit/commands/test_borgmatic.py @@ -242,7 +242,8 @@ def test_run_configuration_retries_hard_error(): ).and_return([flexmock()]) error_logs = [flexmock()] flexmock(module).should_receive('log_error_records').with_args( - 'foo: Error running actions for repository', OSError, + 'foo: Error running actions for repository', + OSError, ).and_return(error_logs) config = {'location': {'repositories': [{'path': 'foo'}]}, 'storage': {'retries': 1}} arguments = {'global': flexmock(monitoring_verbosity=1, dry_run=False), 'create': flexmock()}