Przeglądaj źródła

add review changes

Vandal 1 miesiąc temu
rodzic
commit
4e05539825
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      tests/unit/borg/test_compact.py

+ 2 - 0
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(