From 9e3bde1b09e05be3f1e2c1cafeaefbb86a6fbc60 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Tue, 1 Oct 2024 09:30:11 -0500 Subject: [PATCH] fix: make versionc all in tests dynamic --- tests/commands/test_process_test_results.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/commands/test_process_test_results.py b/tests/commands/test_process_test_results.py index 97c6d956..1baf73b2 100644 --- a/tests/commands/test_process_test_results.py +++ b/tests/commands/test_process_test_results.py @@ -3,6 +3,7 @@ from click.testing import CliRunner +from codecov_cli import __version__ from codecov_cli.main import cli from codecov_cli.types import RequestResult @@ -53,7 +54,7 @@ def test_process_test_results( "codecov_yml_path": None, "enterprise_url": None, "verbose": False, - "version": "cli-0.7.4", + "version": f"cli-{__version__}", "command": "process-test-results", "provider_token": "whatever", "disable_search": True,