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

Method test_folder_anonymous

tests/tests_client.py:70–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 f = objects.add_folder(3, 'MyFolder')
69
70 def test_folder_anonymous(self):
71 objects = self.clt.get_objects_node()
72 f = objects.add_folder(3, 'MyFolderRO')
73 f_ro = self.ro_clt.get_node(f.nodeid)
74 self.assertEqual(f, f_ro)
75 with self.assertRaises(ua.UaStatusCodeError):
76 f2 = f_ro.add_folder(3, 'MyFolder2')
77
78 def test_variable_anonymous(self):
79 objects = self.clt.get_objects_node()

Callers

nothing calls this directly

Calls 3

add_folderMethod · 0.80
get_objects_nodeMethod · 0.45
get_nodeMethod · 0.45

Tested by

no test coverage detected