From a4974fbba7aeb21684d7f495cc7c1209a2f6d359 Mon Sep 17 00:00:00 2001 From: Benex254 Date: Mon, 12 Aug 2024 00:48:55 +0300 Subject: [PATCH] test: add test for update command --- tests/test_all_commands.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_all_commands.py b/tests/test_all_commands.py index 0a21841..efdfda5 100644 --- a/tests/test_all_commands.py +++ b/tests/test_all_commands.py @@ -55,6 +55,11 @@ def test_completions_help(runner: CliRunner): assert result.exit_code == 0 +def test_update_help(runner: CliRunner): + result = runner.invoke(run_cli, ["update", "--help"]) + assert result.exit_code == 0 + + def test_anilist_help(runner: CliRunner): result = runner.invoke(run_cli, ["anilist", "--help"]) assert result.exit_code == 0