Skip to content

Commit

Permalink
Restyled by autopep8
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and PeterC1965 committed Aug 22, 2024
1 parent b9a7143 commit e52b7da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/python_testing/TC_DEM_1_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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()

0 comments on commit e52b7da

Please sign in to comment.