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

Method test_xml_string_array

tests/tests_xml.py:212–215  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

210 self.assertEqual(o.get_description(), o2.get_description())
211
212 def test_xml_string_array(self):
213 o = self.opc.nodes.objects.add_variable(2, "xmlstringarray", ["mystring2", "mystring3"])
214 node2 = self._test_xml_var_type(o, "stringarray")
215 dv = node2.get_data_value()
216
217 def test_xml_guid(self):
218 o = self.opc.nodes.objects.add_variable(2, "xmlguid", uuid.uuid4())

Callers

nothing calls this directly

Calls 3

_test_xml_var_typeMethod · 0.95
get_data_valueMethod · 0.80
add_variableMethod · 0.45

Tested by

no test coverage detected