๐Ÿ“ฆ scop / bash-completion

๐Ÿ“„ test_truncate.py ยท 12 lines
1
2
3
4
5
6
7
8
9
10
11
12import pytest


class TestTruncate:
    @pytest.mark.complete("truncate ")
    def test_basic(self, completion):
        assert completion

    @pytest.mark.complete("truncate -", require_cmd=True)
    def test_options(self, completion):
        assert completion