Skip to content

Commit a5d9d6f

Browse files
committed
fix issue with CADMIN test
1 parent 9d1ea64 commit a5d9d6f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/python_testing/TC_CADMIN_1_3_4.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
from chip.exceptions import ChipStackError
5353
from chip.interaction_model import Status
5454
from chip.tlv import TLVReader
55-
from matter_testing_infrastructure.chip.testing.matter_testing import (MatterBaseTest, TestStep, async_test_body,
55+
from chip.testing.matter_testing import (MatterBaseTest, TestStep, async_test_body,
5656
default_matter_test_main)
5757
from mdns_discovery import mdns_discovery
5858
from mobly import asserts
@@ -346,6 +346,4 @@ async def test_TC_CADMIN_1_4(self):
346346

347347

348348
if __name__ == "__main__":
349-
# This makes the test class discoverable by the test runner
350-
__test_class__ = TC_CADMIN
351349
default_matter_test_main()

src/python_testing/matter_testing_infrastructure/chip/testing/matter_testing.py

+3
Original file line numberDiff line numberDiff line change
@@ -2196,3 +2196,6 @@ def test_run_commissioning(self):
21962196
cluster_id_str = conversions.cluster_id_with_name
21972197

21982198
default_matter_test_main = runner.default_matter_test_main
2199+
get_test_info = runner.get_test_info
2200+
run_tests = runner.run_tests
2201+
run_tests_no_exit = runner.run_tests_no_exit

0 commit comments

Comments
 (0)