Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xincunli-sonic committed Oct 24, 2024
1 parent 1e7a105 commit 6d4003b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/generic_config_updater/change_applier_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import generic_config_updater.change_applier
import generic_config_updater.services_validator
import generic_config_updater.gu_common

SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
DATA_FILE = os.path.join(SCRIPT_DIR, "files", "change_applier_test.data.json")
Expand Down Expand Up @@ -200,7 +199,7 @@ def vlan_validate(old_cfg, new_cfg, keys):

class TestChangeApplier(unittest.TestCase):

@patch("generic_config_updater.gu_common.get_config_db_as_json")
@patch("generic_config_updater.change_applier.ChangeApplier._get_running_config")
@patch("generic_config_updater.change_applier.get_config_db")
@patch("generic_config_updater.change_applier.set_config")
def test_change_apply(self, mock_set, mock_db, mock_get_config_json):
Expand Down

0 comments on commit 6d4003b

Please sign in to comment.