Skip to content

Commit

Permalink
Formatting and linting commit
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jun 11, 2024
1 parent 3b0f382 commit 1cae1d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
13 changes: 7 additions & 6 deletions test/test_run_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,13 @@ def test_start_run_detection():
"""
mock_channel = Mock()

with (pytest.raises(InterruptedError),
patch("rundetection.run_detection.get_channel", return_value=mock_channel) as mock_get_channel,
patch("rundetection.run_detection.process_messages") as mock_proc_messages,
patch("rundetection.run_detection.process_notifications") as mock_proc_notifications,
patch("rundetection.run_detection.SimpleQueue") as mock_queue,
patch("rundetection.run_detection.time.sleep", side_effect=InterruptedError),
with (
pytest.raises(InterruptedError),
patch("rundetection.run_detection.get_channel", return_value=mock_channel) as mock_get_channel,
patch("rundetection.run_detection.process_messages") as mock_proc_messages,
patch("rundetection.run_detection.process_notifications") as mock_proc_notifications,
patch("rundetection.run_detection.SimpleQueue") as mock_queue,
patch("rundetection.run_detection.time.sleep", side_effect=InterruptedError),
):
start_run_detection()

Expand Down
1 change: 1 addition & 0 deletions test/test_specifications.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Specification unit test module
"""

import os
from pathlib import Path

Expand Down

0 comments on commit 1cae1d1

Please sign in to comment.