Skip to content

Commit

Permalink
📝🐛 Spell "notifications" w/o mistakes (#492)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Hu <[email protected]>
  • Loading branch information
webknjaz and thomasrockhu-codecov authored Jan 15, 2025
1 parent 0e1ddf6 commit 4bf285c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions codecov_cli/services/upload/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def do_upload_logic(
except click.ClickException as exp:
if handle_no_reports_found:
logger.info(
"No coverage reports found. Triggering notificaions without uploading."
"No coverage reports found. Triggering notifications without uploading."
)
upload_completion_logic(
commit_sha=commit_sha,
Expand All @@ -116,7 +116,7 @@ def do_upload_logic(
error=None,
warnings=None,
status_code=200,
text="No coverage reports found. Triggering notificaions without uploading.",
text="No coverage reports found. Triggering notifications without uploading.",
)
else:
raise exp
Expand Down
4 changes: 2 additions & 2 deletions tests/services/upload/test_upload_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,14 +467,14 @@ def side_effect(*args, **kwargs):
assert out_bytes == [
(
"info",
"No coverage reports found. Triggering notificaions without uploading.",
"No coverage reports found. Triggering notifications without uploading.",
),
]
assert res == RequestResult(
error=None,
warnings=None,
status_code=200,
text="No coverage reports found. Triggering notificaions without uploading.",
text="No coverage reports found. Triggering notifications without uploading.",
)
mock_select_preparation_plugins.assert_called_with(
cli_config,
Expand Down

0 comments on commit 4bf285c

Please sign in to comment.