Skip to content

Commit c7f87e4

Browse files
Fixed the broken import for matter_testing
1 parent 3a054ba commit c7f87e4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/python_testing/TC_DRLK_2_13.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
from chip.clusters.Attribute import EventPriority
3535
from chip.clusters.Types import NullValue
3636
from chip.interaction_model import InteractionModelError, Status
37-
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main, type_matches
37+
from matter_testing_support.matter_testing import MatterBaseTest, TestStep, async_test_body, default_matter_test_main, type_matches
3838
from mobly import asserts
3939

4040
logger = logging.getLogger(__name__)

src/python_testing/TC_ICDM_3_4.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import time
3333

3434
import chip.clusters as Clusters
35-
from matter_testing_support import MatterBaseTest, TestStep, async_test_body, default_matter_test_main
35+
from matter_testing_support.matter_testing import MatterBaseTest, TestStep, async_test_body, default_matter_test_main
3636
from mobly import asserts
3737

3838
logger = logging.getLogger(__name__)

src/tools/device-graph/matter-device-graph.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import graphviz
2424
from rich.console import Console
2525

26-
# Add the path to python_testing folder, in order to be able to import from matter_testing_support.matter_testing
26+
# Add the path to python_testing folder, in order to be able to import from matter_testing_support.matter_testing.matter_testing
2727
sys.path.append(os.path.abspath(sys.path[0] + "/../../python_testing"))
2828
from matter_testing_support.matter_testing import MatterBaseTest, async_test_body, default_matter_test_main # noqa: E402
2929

0 commit comments

Comments
 (0)