diff options
-rw-r--r-- | ryu/tests/integrated/test_of_config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ryu/tests/integrated/test_of_config.py b/ryu/tests/integrated/test_of_config.py index a8c4f9ff..2e46c6e2 100644 --- a/ryu/tests/integrated/test_of_config.py +++ b/ryu/tests/integrated/test_of_config.py @@ -120,7 +120,8 @@ class OFConfigClient(app_manager.RyuApp): def __init__(self, *args, **kwargs): super(OFConfigClient, self).__init__(*args, **kwargs) self.switch = capable_switch.OFCapableSwitch( - host=HOST, port=PORT, username=USERNAME, password=PASSWORD) + host=HOST, port=PORT, username=USERNAME, password=PASSWORD, + unknown_host_cb=lambda host, fingeprint: True) gevent.spawn(self._do_of_config) def _validate(self, tree): |