From 6e7ca7290d4a59398438e14623d9e71db7c7508d Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Mon, 19 Feb 2024 19:06:25 +0100 Subject: Move completion code to a separate file --- tests/test_commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/test_commands.py') diff --git a/tests/test_commands.py b/tests/test_commands.py index 5868b56..3456d96 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -2,15 +2,15 @@ from itertools import accumulate -import slack.commands from slack.commands import parse_options +from slack.shared import shared def test_all_parent_commands_exist(): - for command in slack.commands.commands: + for command in shared.commands: parents = accumulate(command.split(" "), lambda x, y: f"{x} {y}") for parent in parents: - assert parent in slack.commands.commands + assert parent in shared.commands def test_parse_options_without_options(): -- cgit