Skip to content

Commit

Permalink
Add note about the complex test input
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Oct 20, 2023
1 parent ea95a79 commit 5bf9031
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/py_matter_idl/matter_idl/test_data_model_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def testBasicInput(self):
self.assertEqual(xml_idl, expected_idl)

def testComplexInput(self):
# This parses a known copy of Switch.xml which happens to be fully
# spec-conformant (so assuming it as a good input)
xml_idl = XmlToIdl('''
<cluster xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="types types.xsd cluster cluster.xsd" id="0x003b" name="Switch" revision="1">
<revisionHistory>
Expand Down

0 comments on commit 5bf9031

Please sign in to comment.