From 4bf285ccd082d1fa86978e7b897b7dc0141e0d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=87=BA=F0=9F=87=A6=20Sviatoslav=20Sydorenko=20=28?= =?UTF-8?q?=D0=A1=D0=B2=D1=8F=D1=82=D0=BE=D1=81=D0=BB=D0=B0=D0=B2=20=D0=A1?= =?UTF-8?q?=D0=B8=D0=B4=D0=BE=D1=80=D0=B5=D0=BD=D0=BA=D0=BE=29?= Date: Wed, 15 Jan 2025 15:47:20 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=F0=9F=90=9B=20Spell=20"notificatio?= =?UTF-8?q?ns"=20w/o=20mistakes=20(#492)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tom Hu <88201630+thomasrockhu-codecov@users.noreply.github.com> --- codecov_cli/services/upload/__init__.py | 4 ++-- tests/services/upload/test_upload_service.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/codecov_cli/services/upload/__init__.py b/codecov_cli/services/upload/__init__.py index 34275decd..09977cb77 100644 --- a/codecov_cli/services/upload/__init__.py +++ b/codecov_cli/services/upload/__init__.py @@ -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, @@ -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 diff --git a/tests/services/upload/test_upload_service.py b/tests/services/upload/test_upload_service.py index 1ce1e6774..08a41e6f1 100644 --- a/tests/services/upload/test_upload_service.py +++ b/tests/services/upload/test_upload_service.py @@ -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,