Skip to content

Commit aa348dc

Browse files
cecilletehampson
andauthored
Update src/python_testing/TestSpecParsingSupport.py
Co-authored-by: Terence Hampson <thampson@google.com>
1 parent 7cd1b9a commit aa348dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/python_testing/TestSpecParsingSupport.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,9 @@ def test_derived_clusters(self):
267267
[0, 1, 2, 3] + expected_global_attrs), "Unexpected attribute list")
268268
# Ensure the conformance overrides from the derived cluster are on the attributes
269269
asserts.assert_equal(str(clusters[0xFFFF].attributes[0].conformance), "M", "Unexpected conformance on attribute 0")
270-
asserts.assert_equal(str(clusters[0xFFFF].attributes[1].conformance), "M", "Unexpected conformance on attribute 0")
271-
asserts.assert_equal(str(clusters[0xFFFF].attributes[2].conformance), "X", "Unexpected conformance on attribute 1")
272-
asserts.assert_equal(str(clusters[0xFFFF].attributes[3].conformance), "X", "Unexpected conformance on attribute 1")
270+
asserts.assert_equal(str(clusters[0xFFFF].attributes[1].conformance), "M", "Unexpected conformance on attribute 1")
271+
asserts.assert_equal(str(clusters[0xFFFF].attributes[2].conformance), "X", "Unexpected conformance on attribute 2")
272+
asserts.assert_equal(str(clusters[0xFFFF].attributes[3].conformance), "X", "Unexpected conformance on attribute 3")
273273

274274
# Ensure both the accepted and generated command overrides work
275275
asserts.assert_true(set(clusters[0xFFFF].accepted_commands.keys()),

0 commit comments

Comments
 (0)