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

Method test_get_server_node

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

Source from the content-addressed store, hash-verified

95
96 @connect
97 def test_get_server_node(self, client):
98 srv = client.get_server_node()
99 self.assertEqual(srv.get_browse_name(), ua.QualifiedName("Server", 0))
100 #childs = srv.get_children()
101 #self.assertTrue(len(childs) > 4)
102
103 @connect
104 def test_browsepathtonodeid(self, client):

Callers

nothing calls this directly

Calls 2

get_browse_nameMethod · 0.80
get_server_nodeMethod · 0.45

Tested by

no test coverage detected