diff --git a/python/test/meielement_test.py b/python/test/meielement_test.py index ea0e441b..9f70ed28 100644 --- a/python/test/meielement_test.py +++ b/python/test/meielement_test.py @@ -386,6 +386,7 @@ def test_printElement(self): b1 = MeiElement("body") s1 = MeiElement("staff") n1 = MeiElement("note") + n2 = MeiElement("note") m.addAttribute("meiversion", "2013") @@ -395,11 +396,13 @@ def test_printElement(self): m1.addChild(b1) b1.addChild(s1) s1.addChild(n1) + s1.addChild(n2) - m.printElement() - n1.printElement() - + n1.addAttribute('headshape', 'diamond') + n1.addAttribute('pname', 'c') + n2.addAttribute('pname', 'd') + m.printElement() def suite(): test_suite = unittest.makeSuite(MeiElementTest, 'test') return test_suite \ No newline at end of file