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