diff options
author | Yuichi Ito <ito.yuichi0@gmail.com> | 2014-05-21 17:23:47 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-05-21 17:50:52 +0900 |
commit | d91f5e08f7cd63645c4c5e48363add9b2645ccc7 (patch) | |
tree | d6f7737e88fe011c913e1c6e690bab7cfb485010 | |
parent | 0356f5ff221812029acc2dd702cdae26dca7322f (diff) |
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 <ito.yuichi0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/tests/switch/tester.py | 6 |
1 files changed, 6 insertions, 0 deletions
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 |