From 3795a0dc4db0881f556c7792d57f696a1c225e40 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 20 Jan 2022 22:31:58 -0500 Subject: [PATCH] Ran restyler --- scripts/idl/test_matter_idl_parser.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/idl/test_matter_idl_parser.py b/scripts/idl/test_matter_idl_parser.py index 77afb091775583..7d841f09c51bb1 100755 --- a/scripts/idl/test_matter_idl_parser.py +++ b/scripts/idl/test_matter_idl_parser.py @@ -60,7 +60,7 @@ def test_global_enum(self): entries=[ EnumEntry(name="kValue1", code=1), EnumEntry(name="kOther", code=0x12), - ])] + ])] ) self.assertEqual(actual, expected) @@ -83,7 +83,8 @@ def test_global_struct(self): [FieldAttribute.OPTIONAL])), Field(data_type=DataType(name="int"), code=0x123, name="valueThatIsNullable", attributes=set( [FieldAttribute.NULLABLE])), - Field(data_type=DataType(name="char_string", max_length=123), code=222, name="sized_string", attributes=set()), + Field(data_type=DataType(name="char_string", max_length=123), + code=222, name="sized_string", attributes=set()), ])] ) self.assertEqual(actual, expected) @@ -185,7 +186,7 @@ def test_cluster_enum(self): entries=[ EnumEntry(name="A", code=0x123), EnumEntry(name="B", code=0x234), - ])], + ])], )]) self.assertEqual(actual, expected) @@ -206,7 +207,7 @@ def test_cluster_events(self): events=[ Event(priority=EventPriority.CRITICAL, name="StartUp", code=0, fields=[ Field(data_type=DataType(name="INT32U"), - code=0, name="softwareVersion"), + code=0, name="softwareVersion"), ]), Event(priority=EventPriority.INFO, name="Hello", code=1, fields=[]),