Commit 786c11bc authored by Ivan Tyagov's avatar Ivan Tyagov

Fixup test.

parent 1c607b06
......@@ -38,14 +38,14 @@ class TestDataInestOPCUADocumentgestion(ERP5TypeTestCase):
def test_01_SetAndGet(self):
"""
XXX: implement accordingly
Simulate OPC UA client -> server integration.
"""
# create placeholder
default_id = "1"
default_opcua_document = self.portal.opcua_document_module.get(default_id, None)
if default_opcua_document is None:
self.portal.opcua_document_module.newContent(portal_type = "OPCUA Document",
id = default_id)
default_opcua_document = self.portal.opcua_document_module.newContent(portal_type = "OPCUA Document",
id = default_id)
self.tic()
# cleanup
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment