Remove unused function from unit/fake_utils.py

Change-Id: I42fa1f19332351de2aaba1a121bcbc7732b3b466
This commit is contained in:
Dao Cong Tien 2016-08-30 15:09:58 +07:00
parent b12c79e0b3
commit 92891a5300
1 changed files with 0 additions and 8 deletions

View File

@ -19,8 +19,6 @@ import re
from eventlet import greenthread
import six
from cinder import utils
_fake_execute_repliers = []
_fake_execute_log = []
@ -88,9 +86,3 @@ def fake_execute(*cmd_parts, **kwargs):
# Replicate the sleep call in the real function
greenthread.sleep(0)
return reply
def stub_out_utils_execute(stubs):
fake_execute_set_repliers([])
fake_execute_clear_log()
stubs.Set(utils, 'execute', fake_execute)