Skip to content

Commit 8be7993

Browse files
Updated imported fixes on test_TC_ICDM_2_1.py
1 parent b94b45b commit 8be7993

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/python_testing/test_testing/test_TC_ICDM_2_1.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
import sys
2121
from dataclasses import dataclass
2222

23+
# Add the parent directory to sys.path to allow importing
24+
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
25+
2326
import chip.clusters as Clusters
2427
from chip.clusters import Attribute
2528
from MockTestRunner import MockTestRunner
2629

27-
# Add the parent directory to sys.path to allow importing
28-
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
29-
3030
c = Clusters.IcdManagement
3131
attr = c.Attributes
3232
uat = c.Bitmaps.UserActiveModeTriggerBitmap

0 commit comments

Comments
 (0)