From c66cc52d534dcb85d72affd09d6d90471fcd299b Mon Sep 17 00:00:00 2001 From: Benex254 Date: Fri, 9 Aug 2024 23:14:46 +0300 Subject: [PATCH] tests: add tests for cache and completions command --- tests/test_all_commands.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/test_all_commands.py b/tests/test_all_commands.py index 7181198..0a21841 100644 --- a/tests/test_all_commands.py +++ b/tests/test_all_commands.py @@ -45,6 +45,16 @@ def test_search_help(runner: CliRunner): assert result.exit_code == 0 +def test_cache_help(runner: CliRunner): + result = runner.invoke(run_cli, ["cache", "--help"]) + assert result.exit_code == 0 + + +def test_completions_help(runner: CliRunner): + result = runner.invoke(run_cli, ["completions", "--help"]) + assert result.exit_code == 0 + + def test_anilist_help(runner: CliRunner): result = runner.invoke(run_cli, ["anilist", "--help"]) assert result.exit_code == 0