From 84ce4b11dc052b794dcd3f4331a669540a535c66 Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Tue, 10 Oct 2023 17:17:53 -0400 Subject: [PATCH] fix: fixes formatting on test_autosync.py Signed-off-by: Jennifer Power --- tests/trestlebot/entrypoints/test_autosync.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/trestlebot/entrypoints/test_autosync.py b/tests/trestlebot/entrypoints/test_autosync.py index 2df950cf..dfabcae3 100644 --- a/tests/trestlebot/entrypoints/test_autosync.py +++ b/tests/trestlebot/entrypoints/test_autosync.py @@ -88,9 +88,9 @@ def test_with_target_branch(valid_args_dict: Dict[str, str], caplog: Any) -> Non # Patch is_github_actions since these tests will be running in # GitHub Actions - with patch("trestlebot.entrypoints.entrypoint_base.is_github_actions") as mock_check, patch( - "sys.argv", ["trestlebot", *args_dict_to_list(args_dict)] - ): + with patch( + "trestlebot.entrypoints.entrypoint_base.is_github_actions" + ) as mock_check, patch("sys.argv", ["trestlebot", *args_dict_to_list(args_dict)]): mock_check.return_value = False with pytest.raises(SystemExit):