We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eddf451 commit 4f96c8fCopy full SHA for 4f96c8f
tests/test_shell.py
@@ -0,0 +1,14 @@
1
+from tmuxp import shell
2
+from tmuxp._compat import string_types
3
+
4
5
+def test_detect_best_shell():
6
+ result = shell.detect_best_shell()
7
+ assert isinstance(result, string_types)
8
9
10
+def test_shell_detect():
11
+ assert isinstance(shell.has_bpython(), bool)
12
+ assert isinstance(shell.has_ipython(), bool)
13
+ assert isinstance(shell.has_ptpython(), bool)
14
+ assert isinstance(shell.has_ptipython(), bool)
0 commit comments