Merge "Remove ensure_dirs double-patch"
This commit is contained in:
commit
6566932aaa
|
@ -2005,7 +2005,6 @@ class TestBasicRouterOperations(BasicRouterOperationsFramework):
|
|||
self.external_process_p.stop()
|
||||
self.ip_cls_p.stop()
|
||||
|
||||
ensure_dir = 'neutron.agent.linux.utils.ensure_dir'
|
||||
get_conf_file_name = 'neutron.agent.linux.utils.get_conf_file_name'
|
||||
get_pid_file_name = ('neutron.agent.linux.external_process.'
|
||||
'ProcessManager.get_pid_file_name')
|
||||
|
@ -2013,7 +2012,6 @@ class TestBasicRouterOperations(BasicRouterOperationsFramework):
|
|||
|
||||
mock.patch(get_conf_file_name).start().return_value = conffile
|
||||
mock.patch(get_pid_file_name).start().return_value = pidfile
|
||||
mock.patch(ensure_dir).start()
|
||||
execute = mock.patch(utils_execute).start()
|
||||
|
||||
radvd = ra.DaemonMonitor(
|
||||
|
|
Loading…
Reference in New Issue