Commit 3d2441a8 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Common - Tests - MockServicerImpl_Context:

- Correct attribute name component to components in Device message
parent dcaf1e5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ class MockServicerImpl_Context(ContextServiceServicer):
            reply_device.CopyFrom(device)
            if exclude_endpoints:    del reply_device.device_endpoints [:] # pylint: disable=no-member
            if exclude_config_rules: del reply_device.device_config.config_rules[:] # pylint: disable=no-member
            if exclude_components:   del reply_device.component[:] # pylint: disable=no-member
            if exclude_components:   del reply_device.components[:] # pylint: disable=no-member
            devices.append(reply_device)
                
        reply = DeviceList(devices=devices)