[Tests] Patched GS.exec_with_retry

This commit is contained in:
Salvador E. Tropea 2023-01-03 12:38:53 -03:00
parent 12b3f1e5de
commit e125ed95e0
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ def mocked_call(cmd, exit_with=None):
def patch_functions(m):
m.setattr("subprocess.check_output", mocked_check_output)
m.setattr('kibot.kiplot.exec_with_retry', mocked_call)
GS.exec_with_retry = mocked_call
def init_globals():