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

Method test_objects_anonymous

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

Source from the content-addressed store, hash-verified

61 self.clt.uaclient._uasocket.send_request(request)
62
63 def test_objects_anonymous(self):
64 objects = self.ro_clt.get_objects_node()
65 with self.assertRaises(ua.UaStatusCodeError):
66 objects.set_attribute(ua.AttributeIds.WriteMask, ua.DataValue(999))
67 with self.assertRaises(ua.UaStatusCodeError):
68 f = objects.add_folder(3, 'MyFolder')
69
70 def test_folder_anonymous(self):
71 objects = self.clt.get_objects_node()

Callers

nothing calls this directly

Calls 3

set_attributeMethod · 0.80
add_folderMethod · 0.80
get_objects_nodeMethod · 0.45

Tested by

no test coverage detected