]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
Revert 011a564 -- 0023581: [CEA 2262] : Syntax error in XML tag
authoreap <eap@opencascade.com>
Tue, 21 Aug 2018 13:53:47 +0000 (16:53 +0300)
committereap <eap@opencascade.com>
Tue, 21 Aug 2018 13:53:47 +0000 (16:53 +0300)
The error in XML tag is intentional, to check that an exception is raised

src/yacsloader_swig/Test/testEdit.py

index 6054d892c84e236f14846432b5d7ca10eb1b40b0..ab9bb838a2cecc9ffbd7d4cba23ed1fe9bfd7879 100755 (executable)
@@ -67,7 +67,7 @@ class TestEdit(unittest.TestCase):
         inport=n.getInputPort("p1");
         retex=None
         try:
-            inport.edInitXML("<value><int>5</int></value>")
+            inport.edInitXML("<value><intt>5</int></value>")
         except ValueError as ex:
             print("Value Error: ", ex)
             retex=ex