Skip to content

Commit b213ca4

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

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/test_shell.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from tmuxp import shell
2+
3+
4+
def test_detect_best_shell():
5+
result = shell.detect_best_shell()
6+
assert isinstance(result, str)
7+
8+
9+
def test_shell_detect():
10+
assert isinstance(shell.has_bpython(), bool)
11+
assert isinstance(shell.has_ipython(), bool)
12+
assert isinstance(shell.has_ptpython(), bool)
13+
assert isinstance(shell.has_ptipython(), bool)

0 commit comments

Comments
 (0)