From e52b7dab0dcaa05c452cba58bfb728f53a0f8e61 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 22 Aug 2024 05:52:09 +0000 Subject: [PATCH] Restyled by autopep8 --- src/python_testing/TC_DEM_1_1.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/python_testing/TC_DEM_1_1.py b/src/python_testing/TC_DEM_1_1.py index 1ed97cfb180a5d..d9eaadda07657a 100644 --- a/src/python_testing/TC_DEM_1_1.py +++ b/src/python_testing/TC_DEM_1_1.py @@ -192,7 +192,7 @@ async def test_TC_DEM_1_1(self): def check_attribute_valid_and_remove_from_list(self, attribute_id, feature_map, attribute_list, required_features): if feature_map & required_features: asserts.assert_true(attribute_id in attribute_list, - f"Expected to find attribute {attribute_id} in attribute_list {attribute_list} given feature_map 0x{feature_map:x}") + f"Expected to find attribute {attribute_id} in attribute_list {attribute_list} given feature_map 0x{feature_map:x}") attribute_list.remove(attribute_id) else: @@ -208,6 +208,8 @@ def check_expected_commands_in_list(self, expected_commands, feature_map, accept else: for command in expected_commands: asserts.assert_false(command in accepted_command_list, - f"Did not expect command {command} to be in accepted_command_list {accepted_command_list} given required_features {required_features} in feature_map 0x{feature_map:x}") + f"Did not expect command {command} to be in accepted_command_list {accepted_command_list} given required_features {required_features} in feature_map 0x{feature_map:x}") + + if __name__ == "__main__": default_matter_test_main()