MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / test_node_path

Method test_node_path

tests/tests_common.py:442–447  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

440 self.assertEqual(o, o2)
441
442 def test_node_path(self):
443 objects = self.opc.get_objects_node()
444 o = objects.add_object('ns=2;i=105;', '2:NodePathObject')
445 root = self.opc.get_root_node()
446 o2 = root.get_child(['0:Objects', '2:NodePathObject'])
447 self.assertEqual(o, o2)
448
449 def test_add_read_node(self):
450 objects = self.opc.get_objects_node()

Callers

nothing calls this directly

Calls 4

get_childMethod · 0.80
get_objects_nodeMethod · 0.45
add_objectMethod · 0.45
get_root_nodeMethod · 0.45

Tested by

no test coverage detected