From d91f5e08f7cd63645c4c5e48363add9b2645ccc7 Mon Sep 17 00:00:00 2001 From: Yuichi Ito Date: Wed, 21 May 2014 17:23:47 +0900 Subject: [PATCH] sw test tool: pylint E:1026, 8: Instance of 'DummyDatapath' has no 'set_xid' member (but some types could not be inferred) (maybe-no-member) E:1027, 8: Instance of 'DummyDatapath' has no 'send_msg' member (but some types could not be inferred) (maybe-no-member) NOTE: These methods are never called. This patch is only for avoiding pylint error. Signed-off-by: Yuichi Ito Signed-off-by: FUJITA Tomonori --- ryu/tests/switch/tester.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index 8622cbaa..aef92b6d 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/tester.py @@ -1261,3 +1261,9 @@ class DummyDatapath(object): def __init__(self): self.ofproto = ofproto_v1_3 self.ofproto_parser = ofproto_v1_3_parser + + def set_xid(self, _): + pass + + def send_msg(self, _): + pass