From 14373776532bbfdc117794574a54c7dff5652e95 Mon Sep 17 00:00:00 2001 From: Bartlomiej Hirsz Date: Sun, 3 Dec 2023 18:14:42 +0100 Subject: [PATCH] Fix wrong robotidy package name in error message --- robotidy/exceptions.py | 2 +- tests/utest/test_cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/robotidy/exceptions.py b/robotidy/exceptions.py index 4deb0bbf..712e60cc 100644 --- a/robotidy/exceptions.py +++ b/robotidy/exceptions.py @@ -46,7 +46,7 @@ class MissingOptionalTomliWDependencyError(RobotidyConfigError): def __init__(self): super().__init__( f"Missing optional dependency: tomli_w. Install robotidy with extra `generate_config` " - f"profile:\n\npip install robotidy[generate_config]" + f"profile:\n\npip install robotframework-tidy[generate_config]" ) diff --git a/tests/utest/test_cli.py b/tests/utest/test_cli.py index 9a2ff993..bd5a1f89 100644 --- a/tests/utest/test_cli.py +++ b/tests/utest/test_cli.py @@ -552,6 +552,6 @@ def test_missing_dependency(self, monkeypatch, temporary_cwd): result = run_tidy(["--generate-config"], exit_code=1) expected_output = ( "Error: Missing optional dependency: tomli_w. Install robotidy with extra `generate_config` " - "profile:\n\npip install robotidy[generate_config]\n" + "profile:\n\npip install robotframework-tidy[generate_config]\n" ) assert result.output == expected_output