Skip to content

Commit

Permalink
fix: fixes formatting on test_autosync.py
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 committed Oct 10, 2023
1 parent cd75f90 commit 84ce4b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/trestlebot/entrypoints/test_autosync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 84ce4b1

Please sign in to comment.