We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b3e08c commit cbec3d4Copy full SHA for cbec3d4
tests/test_shell_integration.py
@@ -0,0 +1,11 @@
1
+from cortex.shell_integration import suggest_command
2
+
3
4
+def test_suggest_command_empty():
5
+ assert suggest_command("") is None
6
7
8
+def test_suggest_command_text():
9
+ # We only check that it does not crash
10
+ result = suggest_command("install docker")
11
+ assert result is None or isinstance(result, str)
0 commit comments