summaryrefslogtreecommitdiff
path: root/test/t/test_finger.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_finger.py')
-rw-r--r--test/t/test_finger.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/t/test_finger.py b/test/t/test_finger.py
new file mode 100644
index 00000000..e3cdfacd
--- /dev/null
+++ b/test/t/test_finger.py
@@ -0,0 +1,14 @@
+import pytest
+
+from conftest import assert_bash_exec
+
+
+class TestFinger:
+ @pytest.mark.complete("finger ")
+ def test_1(self, bash, completion):
+ users_at = sorted(
+ assert_bash_exec(
+ bash, "compgen -A user -S @", want_output=True
+ ).split()
+ )
+ assert completion == users_at