Skip to content

Commit 4f96c8f

Browse files
committed
Test detect_best_shell, shell detection
1 parent eddf451 commit 4f96c8f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/test_shell.py

+14
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)