diff --git a/tests/test_plot/test_misc_2.py b/tests/test_plot/test_misc_2.py index a237f9e4..c935ffea 100644 --- a/tests/test_plot/test_misc_2.py +++ b/tests/test_plot/test_misc_2.py @@ -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():