diff options
Diffstat (limited to 'test/t/test_ssh_keyscan.py')
-rw-r--r-- | test/t/test_ssh_keyscan.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/t/test_ssh_keyscan.py b/test/t/test_ssh_keyscan.py new file mode 100644 index 0000000..ee65832 --- /dev/null +++ b/test/t/test_ssh_keyscan.py @@ -0,0 +1,19 @@ +import pytest + + +@pytest.mark.bashcomp( + cmd="ssh-keyscan", +) +class TestSshKeyscan: + @pytest.mark.complete("ssh-keyscan ") + def test_basic(self, completion): + assert completion + + @pytest.mark.complete("ssh-keyscan -", require_cmd=True) + def test_options(self, completion): + assert completion + + @pytest.mark.complete("ssh-keyscan -t rsa,", require_cmd=True) + def test_type_delimited(self, completion): + assert completion + assert "rsa" not in completion |