summaryrefslogtreecommitdiffstats
path: root/test/t/test_qemu_system_x86_64.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_qemu_system_x86_64.py')
-rw-r--r--test/t/test_qemu_system_x86_64.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/t/test_qemu_system_x86_64.py b/test/t/test_qemu_system_x86_64.py
new file mode 100644
index 0000000..c9e8052
--- /dev/null
+++ b/test/t/test_qemu_system_x86_64.py
@@ -0,0 +1,16 @@
+import pytest
+
+
+@pytest.mark.bashcomp(cmd="qemu-system-x86_64")
+class TestQemuSystemX8664:
+ @pytest.mark.complete("qemu-system-x86_64 ")
+ def test_basic(self, completion):
+ assert completion
+
+ @pytest.mark.complete("qemu-system-x86_64 -", require_cmd=True)
+ def test_options(self, completion):
+ assert completion
+
+ @pytest.mark.complete("qemu-system-x86_64 -k ", require_cmd=True)
+ def test_keymaps(self, completion):
+ assert any(x.lower().startswith("en") for x in completion)