From 4e0553982584c9272a9a9de05bdbaa35fa954ed0 Mon Sep 17 00:00:00 2001 From: Vandal <86826719+VandalByte@users.noreply.github.com> Date: Fri, 25 Apr 2025 22:56:07 +0530 Subject: [PATCH] add review changes --- tests/unit/borg/test_compact.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/borg/test_compact.py b/tests/unit/borg/test_compact.py index 5eb32cc8..00e1e86f 100644 --- a/tests/unit/borg/test_compact.py +++ b/tests/unit/borg/test_compact.py @@ -90,6 +90,8 @@ def test_compact_segments_with_dry_run_executes_borg_call_when_feature_available flexmock(module.feature).should_receive('available').with_args( module.feature.Feature.DRY_RUN_COMPACT, '1.4.1' ).and_return(True) + flexmock(module.environment).should_receive('make_environment').once() + flexmock(module.borgmatic.config.paths).should_receive('get_working_directory').once() flexmock(module).should_receive('execute_command').once() module.compact_segments(