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 <[email protected]> --- 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 8622cba..aef92b6 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 -- 1.7.10.4 ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
