Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!235Release TeraFlowSDN 3.0
...@@ -263,7 +263,7 @@ class MockServicerImpl_Context(ContextServiceServicer): ...@@ -263,7 +263,7 @@ class MockServicerImpl_Context(ContextServiceServicer):
reply_device.CopyFrom(device) reply_device.CopyFrom(device)
if exclude_endpoints: del reply_device.device_endpoints [:] # pylint: disable=no-member 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_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) devices.append(reply_device)
reply = DeviceList(devices=devices) reply = DeviceList(devices=devices)
......
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