aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_commands.py')
-rw-r--r--tests/test_commands.py6
1 files changed, 3 insertions, 3 deletions
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():