/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/t/test_sha256sum.py
22 строки
609 B
Ville Skyttä
feat(*sum): treat uppercase variant of *sums as checksum file
30 июл 2026, 17:23
30 июл 2026, 17:23
941f472
Код
Авторство
О чём код?
import pytest class TestSha256sum: @pytest.mark.complete("sha256sum --", require_longopt=True) def test_options(self, completion): assert completion @pytest.mark.complete("sha256sum ", cwd="sha256sum") def test_summing(self, completion): assert completion == ["dir/", "foo"] @pytest.mark.complete("sha256sum -c ", cwd="sha256sum") def test_checking(self, completion): assert completion == [ "SHA256SUMS", "checksums", "checksums.txt", "dir/", "foo.sha256", "sha256sums.txt", ]