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 10872f3 commit 3684954
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions providers/base/tests/test_suspend_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,7 @@ def test_run_valid_fail(self, mock_print, mock_after, mock_parse_args):
@patch("suspend_stats.SuspendStats.parse_args")
@patch("suspend_stats.SuspendStats.is_any_failed")
@patch("suspend_stats.SuspendStats.print_all_content")
def test_run_any_succ(
self, mock_print, mock_any, mock_parse_args
):
def test_run_any_succ(self, mock_print, mock_any, mock_parse_args):
args_mock = MagicMock()
args_mock.type = "any"
args_mock.print = False
Expand All @@ -138,9 +136,7 @@ def test_run_any_succ(
@patch("suspend_stats.SuspendStats.parse_args")
@patch("suspend_stats.SuspendStats.is_any_failed")
@patch("suspend_stats.SuspendStats.print_all_content")
def test_run_any_fail(
self, mock_print, mock_any, mock_parse_args
):
def test_run_any_fail(self, mock_print, mock_any, mock_parse_args):
args_mock = MagicMock()
args_mock.type = "any"
args_mock.print = True
Expand Down

0 comments on commit 3684954

Please sign in to comment.