Loading src/common/tests/MockServicerImpl_Context.py +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading Loading
src/common/tests/MockServicerImpl_Context.py +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading