/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_wget.py
16 строк
404 B
Yedaya Katsman
feat(wget): ipv6 addresses for --bind-address
21 янв 2025, 00:14
21 янв 2025, 00:14
d3ff6a7
Код
Авторство
О чём код?
import pytest class TestWget: @pytest.mark.complete("wget ") def test_1(self, completion): assert not completion @pytest.mark.complete("wget --s", require_cmd=True) def test_2(self, completion): assert completion @pytest.mark.complete("wget --bind-address=:") def test_3(self, completion): # Binding to ipv6 localhost assert ":1" in completion