Skip to content

Commit

Permalink
Simple refactor test code
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft committed Aug 26, 2021
1 parent 442bf5f commit e8d775e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sonic-host-services/tests/hostcfgd/hostcfgd_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
import sys
import swsscommon
from swsscommon import swsscommon

from parameterized import parameterized
from sonic_py_common.general import load_module_from_source
Expand All @@ -12,7 +12,7 @@
from pyfakefs.fake_filesystem_unittest import patchfs


swsscommon.swsscommon.ConfigDBConnector = MockConfigDb
swsscommon.ConfigDBConnector = MockConfigDb
test_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
modules_path = os.path.dirname(test_path)
scripts_path = os.path.join(modules_path, "scripts")
Expand Down

0 comments on commit e8d775e

Please sign in to comment.