From 2fcbaa5186356aca6e1b1bb028e94fe29263d02d Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Fri, 29 Oct 2021 07:39:04 +0200 Subject: [PATCH] L2SS-465: Avoid walking the node tree in mocks. --- .../tangostationcontrol/test/clients/test_opcua_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tangostationcontrol/tangostationcontrol/test/clients/test_opcua_client.py b/tangostationcontrol/tangostationcontrol/test/clients/test_opcua_client.py index c1c29ee04..2a6de20bf 100644 --- a/tangostationcontrol/tangostationcontrol/test/clients/test_opcua_client.py +++ b/tangostationcontrol/tangostationcontrol/test/clients/test_opcua_client.py @@ -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: -- GitLab