The real exception is server side, but is detected by using a client. Alldue the server trace is also visible on the console. The client only 'sees' an TimeoutError
(self)
| 130 | self.assertEqual(state[0], 2) |
| 131 | |
| 132 | def test_enumstrings_getvalue(self): |
| 133 | ''' The real exception is server side, but is detected by using a client. |
| 134 | Alldue the server trace is also visible on the console. |
| 135 | The client only 'sees' an TimeoutError |
| 136 | ''' |
| 137 | nenumstrings = self.clt.get_node(ua.ObjectIds.AxisScaleEnumeration_EnumStrings) |
| 138 | with self.assertNotRaises(Exception): |
| 139 | value = ua.Variant(nenumstrings.get_value()) |
| 140 | |
| 141 | def test_uasocketclient_connect_disconnect(self): |
| 142 | """Initialize, connect, and disconnect a UaSocketClient |
nothing calls this directly
no test coverage detected