Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
roaga committed Feb 5, 2025
1 parent 094d4a2 commit f66c455
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/automation/autofix/steps/test_autofix_steps.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import threading
import time
from typing import Optional
Expand Down Expand Up @@ -172,6 +173,7 @@ def set_thread_kill():

@patch("os._exit")
@patch("time.sleep")
@patch.dict(os.environ, {})
def test_check_for_kill_with_kill_signal(self, mock_sleep, mock_exit, mock_step):
mock_step.thread_kill = False
kill_signal = make_kill_signal()
Expand Down

0 comments on commit f66c455

Please sign in to comment.