Skip to content

Commit f2fc773

Browse files
committed
removed duplicate log_structured_data function from basic_composition module, now inheriting it directly from matter_testing in test_TC_IDM_12_1 test
1 parent 530ac3a commit f2fc773

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/python_testing/TC_DeviceBasicComposition.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
from matter.clusters.Types import Nullable
190190
from matter.exceptions import ChipStackError
191191
from matter.interaction_model import InteractionModelError, Status
192-
from matter.testing.basic_composition import BasicCompositionTests, log_structured_data
192+
from matter.testing.basic_composition import BasicCompositionTests
193193
from matter.testing.global_attribute_ids import (AttributeIdType, ClusterIdType, CommandIdType, GlobalAttributeIds,
194194
attribute_id_type, cluster_id_type, command_id_type)
195195
from matter.testing.matter_testing import MatterBaseTest, TestStep, async_test_body, default_matter_test_main
@@ -966,8 +966,8 @@ def test_TC_IDM_12_1(self):
966966
json_str, txt_str = self.dump_wildcard(dump_device_composition_path)
967967

968968
# Structured dump so we can pull these back out of the logs
969-
log_structured_data('==== json: ', json_str)
970-
log_structured_data('==== txt: ', txt_str)
969+
self.log_structured_data('==== json: ', json_str)
970+
self.log_structured_data('==== txt: ', txt_str)
971971

972972
@async_test_body
973973
async def test_TC_DESC_2_1(self):

0 commit comments

Comments
 (0)