/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_qemu.py
15 строк
406 B
Ville Skyttä
qemu: don't hardcode -k completions
16 янв 2021, 12:36
16 янв 2021, 12:36
92fbd67
Код
Авторство
О чём код?
import pytest class TestQemu: @pytest.mark.complete("qemu ") def test_1(self, completion): assert completion @pytest.mark.complete("qemu -", require_cmd=True) def test_2(self, completion): assert completion @pytest.mark.complete("qemu -k ", require_cmd=True) def test_keymaps(self, completion): assert any(x.lower().startswith("en") for x in completion)