Merge "Correct the test code to remove 'pass' where it is not needed"
This commit is contained in:
commit
fc4be60106
|
@ -1209,7 +1209,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
|
||||
|
@ -1223,7 +1222,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
|
||||
|
|
Loading…
Reference in New Issue