Skip to content

Commit a2c3abf

Browse files
committed
fix unittest
1 parent 4dce058 commit a2c3abf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/generic_config_updater/generic_updater_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ def __create_patch_applier(self,
7373

7474
changeapplier = Mock()
7575
changeapplier.apply.side_effect = create_side_effect_dict({(str(changes[0]),): 0, (str(changes[1]),): 0})
76+
changeapplier.get_config_without_backend_tables.side_effect = \
77+
[Files.CONFIG_DB_AFTER_MULTI_PATCH, Files.CONFIG_DB_AFTER_MULTI_PATCH]
7678

7779
return gu.PatchApplier(patchsorter, changeapplier, config_wrapper, patch_wrapper)
7880

0 commit comments

Comments
 (0)