summaryrefslogtreecommitdiffstats
path: root/test/t/test_qemu_system_x86_64.py
blob: c9e80526757c9091b5dd032cbaead8977a790928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)