/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_usermod.py
15 строк
408 B
Ville Skyttä
chsh, useradd, usermod: complete shells in chroot given by -R/--root
05 янв 2021, 10:02
05 янв 2021, 10:02
e05885e
Код
Авторство
О чём код?
import pytest class TestUsermod: @pytest.mark.complete("usermod ") def test_1(self, completion): assert completion @pytest.mark.complete("usermod -", require_cmd=True) def test_2(self, completion): assert completion @pytest.mark.complete("useradd --root shells -s ") def test_chroot_shells(self, completion): assert completion == "/bash/completion/canary"