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

Method test_browsepathtonodeid

test_external_server.py:104–107  ·  view source on GitHub ↗
(self, client)

Source from the content-addressed store, hash-verified

102
103 @connect
104 def test_browsepathtonodeid(self, client):
105 root = client.get_root_node()
106 node = root.get_child(["0:Objects", "0:Server" , "0:ServerArray"])
107 self.assertEqual(node.get_browse_name(), ua.QualifiedName("ServerArray", 0))
108
109 @connect
110 def test_subscribe_server_time(self, client):

Callers

nothing calls this directly

Calls 3

get_childMethod · 0.80
get_browse_nameMethod · 0.80
get_root_nodeMethod · 0.45

Tested by

no test coverage detected