aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/odl/test_odl.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-06-19 07:14:42 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-06-19 07:16:33 +0200
commita1a85f7cc121b1c1176f2b79b22f4e4bca43177a (patch)
treeb602db75f9577576b4b8fb84dc01e33b24c3dcdf /functest/tests/unit/odl/test_odl.py
parentf1353fff60344b01c588d9724b3b1de819cbe661 (diff)
Fix pylint errors
They are highlighted by the last pylint version. Change-Id: I473212a413013492716993fb536903b13bff66ed Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/tests/unit/odl/test_odl.py')
-rw-r--r--functest/tests/unit/odl/test_odl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/functest/tests/unit/odl/test_odl.py b/functest/tests/unit/odl/test_odl.py
index d50e052c7..bf509cbd6 100644
--- a/functest/tests/unit/odl/test_odl.py
+++ b/functest/tests/unit/odl/test_odl.py
@@ -362,6 +362,7 @@ class ODLRunTesting(ODLTesting):
@mock.patch('os_client_config.make_shade')
def _test_run(self, status=testcase.TestCase.EX_OK,
exception=None, *args, **kwargs):
+ # pylint: disable=keyword-arg-before-vararg
args[0].return_value.search_services.return_value = [
munch.Munch(id=self._neutron_id)]
args[0].return_value.search_endpoints.return_value = [
@@ -393,6 +394,7 @@ class ODLRunTesting(ODLTesting):
@mock.patch('os_client_config.make_shade')
def _test_multiple_suites(self, suites,
status=testcase.TestCase.EX_OK, *args, **kwargs):
+ # pylint: disable=keyword-arg-before-vararg
args[0].return_value.search_endpoints.return_value = [
munch.Munch(url=self._neutron_url)]
args[0].return_value.search_services.return_value = [