Skip to content

Commit

Permalink
fix unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
wen587 committed Aug 4, 2022
1 parent 4dce058 commit a2c3abf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/generic_config_updater/generic_updater_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ def __create_patch_applier(self,

changeapplier = Mock()
changeapplier.apply.side_effect = create_side_effect_dict({(str(changes[0]),): 0, (str(changes[1]),): 0})
changeapplier.get_config_without_backend_tables.side_effect = \
[Files.CONFIG_DB_AFTER_MULTI_PATCH, Files.CONFIG_DB_AFTER_MULTI_PATCH]

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

Expand Down

0 comments on commit a2c3abf

Please sign in to comment.