/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_chflags.py
19 строк
516 B
Koichi Murase
test(chflags): fix test names
25 дек 2024, 12:53
25 дек 2024, 12:53
a50f201
Код
Авторство
О чём код?
import pytest class TestChflags: @pytest.mark.complete("chflags no") def test_basic(self, completion): assert completion @pytest.mark.complete("chflags -") def test_options(self, completion): assert completion and "-P" not in completion @pytest.mark.complete("chflags -R -") def test_options_after_R(self, completion): assert "-P" in completion @pytest.mark.complete("chflags -v sappend ") def test_first_word(self, completion): assert completion