From 34df7f5748cad21569cf58e5fffb1bb653f4daf6 Mon Sep 17 00:00:00 2001 From: Saravanan KR Date: Mon, 20 Mar 2017 16:07:27 +0530 Subject: Correct the test code to remove 'pass' where it is not needed 'pass' is added on a valid function, which is not required for a stub function which has some implementation. Change-Id: I8c35790a8b2a378231df535663c3e6f3a5fe5491 --- os_net_config/tests/test_impl_ifcfg.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'os_net_config/tests/test_impl_ifcfg.py') diff --git a/os_net_config/tests/test_impl_ifcfg.py b/os_net_config/tests/test_impl_ifcfg.py index 6576cef..366c408 100644 --- a/os_net_config/tests/test_impl_ifcfg.py +++ b/os_net_config/tests/test_impl_ifcfg.py @@ -1173,7 +1173,6 @@ class TestIfcfgNetConfigApply(base.TestCase): def test_execute(*args, **kwargs): execute_strings.append(args[1]) - pass self.stubs.Set(NetConfig, 'execute', test_execute) self.provider.noop = True @@ -1187,7 +1186,6 @@ class TestIfcfgNetConfigApply(base.TestCase): def test_execute(*args, **kwargs): execute_strings.append(args[1]) - pass self.stubs.Set(NetConfig, 'execute', test_execute) self.provider.noop = True -- cgit 1.2.3-korg