Skip to content

Commit

Permalink
fix black error
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhsuan committed Jan 24, 2025
1 parent 9b1cd14 commit c0c2536
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions providers/base/tests/test_suspend_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ def test_run_valid_fail(self, mock_print, mock_after, mock_parse_args):
@patch("suspend_stats.SuspendStats.parse_args")
@patch("suspend_stats.SuspendStats.get_last_failed_device")
@patch("suspend_stats.SuspendStats.print_all_content")
def test_run_failed_device_succ(self, mock_print, mock_device, mock_parse_args):
def test_run_failed_device_succ(
self, mock_print, mock_device, mock_parse_args
):
args_mock = MagicMock()
args_mock.type = "failed_device"
args_mock.print = True
Expand All @@ -143,7 +145,9 @@ def test_run_failed_device_succ(self, mock_print, mock_device, mock_parse_args):
@patch("suspend_stats.SuspendStats.parse_args")
@patch("suspend_stats.SuspendStats.get_last_failed_device")
@patch("suspend_stats.SuspendStats.print_all_content")
def test_run_failed_device_fail(self, mock_print, mock_device, mock_parse_args):
def test_run_failed_device_fail(
self, mock_print, mock_device, mock_parse_args
):
args_mock = MagicMock()
args_mock.type = "failed_device"
args_mock.print = True
Expand All @@ -156,7 +160,9 @@ def test_run_failed_device_fail(self, mock_print, mock_device, mock_parse_args):
@patch("suspend_stats.SuspendStats.parse_args")
@patch("suspend_stats.SuspendStats.get_last_failed_device")
@patch("suspend_stats.SuspendStats.print_all_content")
def test_run_failed_device_fail_no_raise(self, mock_print, mock_device, mock_parse_args):
def test_run_failed_device_fail_no_raise(
self, mock_print, mock_device, mock_parse_args
):
args_mock = MagicMock()
args_mock.type = "failed_device"
args_mock.print = False
Expand Down

0 comments on commit c0c2536

Please sign in to comment.