From 13feb9f8ce5ca4f39be588252ba5745d78597291 Mon Sep 17 00:00:00 2001 From: Andrew Hankinson Date: Thu, 18 Dec 2014 16:58:33 -0500 Subject: [PATCH] Update Python test --- python/test/meielement_test.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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