Skip to content
Snippets Groups Projects
Commit 2fcbaa51 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-465: Avoid walking the node tree in mocks.

parent fdae1146
No related branches found
No related tags found
1 merge request!179Resolve L2SS-465 "Lookup nodes in bulk"
......@@ -108,7 +108,7 @@ class TestOPCua(base.AsyncTestCase):
m_attribute = mock_attr(i.numpy_type, dim_x, dim_y)
# pretend like there is a running OPCua server with a node that has this name
m_annotation = ["2:PCC", f"2:testNode_{str(i.numpy_type)}_{str(dim_x)}_{str(dim_y)}"]
m_annotation = [f"2:testNode_{str(i.numpy_type)}_{str(dim_x)}_{str(dim_y)}"]
test_client = OPCUAConnection("opc.tcp://localhost:4874/freeopcua/server/", "http://lofar.eu", 5, mock.Mock(), self.loop)
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment