Skip to content

Commit

Permalink
A subcommand is now mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens authored and felipesanches committed Feb 29, 2024
1 parent 658e74a commit 069d35b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/commands/test_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 069d35b

Please sign in to comment.