diff --git a/tests/commands/test_usage.py b/tests/commands/test_usage.py index 08c2488df5..08afa51743 100644 --- a/tests/commands/test_usage.py +++ b/tests/commands/test_usage.py @@ -62,7 +62,8 @@ def test_command_check_profile(subcommand): def test_tool_help(): """Test if just 'fontbakery' command can run successfully.""" assert subprocess.run([TOOL_NAME, "-h"]).returncode == 0 - assert subprocess.run([TOOL_NAME]).returncode == 0 + # A subcommand is now mandatory + assert subprocess.run([TOOL_NAME]).returncode == 2 @pytest.mark.xfail(