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

Fixup test.

parent 1c607b06
...@@ -38,14 +38,14 @@ class TestDataInestOPCUADocumentgestion(ERP5TypeTestCase): ...@@ -38,14 +38,14 @@ class TestDataInestOPCUADocumentgestion(ERP5TypeTestCase):
def test_01_SetAndGet(self): def test_01_SetAndGet(self):
""" """
XXX: implement accordingly Simulate OPC UA client -> server integration.
""" """
# create placeholder # create placeholder
default_id = "1" default_id = "1"
default_opcua_document = self.portal.opcua_document_module.get(default_id, None) default_opcua_document = self.portal.opcua_document_module.get(default_id, None)
if default_opcua_document is None: if default_opcua_document is None:
self.portal.opcua_document_module.newContent(portal_type = "OPCUA Document", default_opcua_document = self.portal.opcua_document_module.newContent(portal_type = "OPCUA Document",
id = default_id) id = default_id)
self.tic() self.tic()
# cleanup # 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