Skip to content

Commit

Permalink
Fix name conflicting
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft committed Aug 26, 2021
1 parent e8d775e commit 7f0194f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sonic-host-services/tests/hostcfgd/hostcfgd_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import sys
import swsscommon as swsscommon_package
from swsscommon import swsscommon

from parameterized import parameterized
Expand Down Expand Up @@ -93,7 +94,7 @@ def test_hostcfgd(self, test_name, test_data, fs):
Returns:
None
"""
fs.add_real_paths(swsscommon.__path__) # add real path of swsscommon for database_config.json
fs.add_real_paths(swsscommon_package.__path__) # add real path of swsscommon for database_config.json
fs.create_dir(hostcfgd.FeatureHandler.SYSTEMD_SYSTEM_DIR)
MockConfigDb.set_config_db(test_data["config_db"])
with mock.patch("hostcfgd.subprocess") as mocked_subprocess:
Expand Down

0 comments on commit 7f0194f

Please sign in to comment.