From f05de7738ae67e2a2b393b4437dbe43384159825 Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Mon, 8 Jan 2024 04:25:42 +0100 Subject: [PATCH] integration_tests: test importing main.cli --- integration_tests.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/integration_tests.py b/integration_tests.py index 2b6c526..bc4eeb7 100644 --- a/integration_tests.py +++ b/integration_tests.py @@ -37,6 +37,11 @@ def ctx() -> click.Context: return click.Context(click.Command('integration_tests')) +def test_main_import(): + from main import cli + assert cli + + def test_config_load(ctx: click.Context): path = config.runtime.config_file assert path