[Tests] Patched GS.exec_with_retry
This commit is contained in:
parent
12b3f1e5de
commit
e125ed95e0
|
|
@ -58,6 +58,7 @@ def mocked_call(cmd, exit_with=None):
|
||||||
def patch_functions(m):
|
def patch_functions(m):
|
||||||
m.setattr("subprocess.check_output", mocked_check_output)
|
m.setattr("subprocess.check_output", mocked_check_output)
|
||||||
m.setattr('kibot.kiplot.exec_with_retry', mocked_call)
|
m.setattr('kibot.kiplot.exec_with_retry', mocked_call)
|
||||||
|
GS.exec_with_retry = mocked_call
|
||||||
|
|
||||||
|
|
||||||
def init_globals():
|
def init_globals():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue