aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaravanan KR <skramaja@redhat.com>2017-03-20 16:07:27 +0530
committerSaravanan KR <skramaja@redhat.com>2017-03-20 16:10:20 +0530
commit34df7f5748cad21569cf58e5fffb1bb653f4daf6 (patch)
treeae30275bb0c1dcff1583bc8bfe55adda8f0807fe
parentab0e0d433fb363f6a01b7c8305771f2bde47930e (diff)
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
-rw-r--r--os_net_config/tests/test_impl_ifcfg.py2
1 files changed, 0 insertions, 2 deletions
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