added mock for python testing, removed a couple unused methods, added some more quick tests for a variety of interface related methods

This commit is contained in:
Blake J. Harnden 2017-07-26 16:52:17 -07:00
parent 62e8ff8731
commit ebe3b9e3e3
7 changed files with 80 additions and 54 deletions

View file

@ -168,7 +168,7 @@ class CoreDocumentWriter0(Document):
n = self.createElement("Node")
self.np.appendChild(n)
n.setAttribute("name", node.name)
n.setAttribute("id", "%s" % node.nodeid())
n.setAttribute("id", "%s" % node.objid)
if node.type:
n.setAttribute("type", node.type)
self.addinterfaces(n, node)