๐Ÿ“ฆ scop / bash-completion

๐Ÿ“„ test_mkisofs.py ยท 16 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16import pytest


class TestMkisofs:
    @pytest.mark.complete("mkisofs ")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("mkisofs -uid ")
    def test_2(self, completion):
        assert not [x for x in completion if not x.isdigit()]

    @pytest.mark.complete("mkisofs -gid ")
    def test_3(self, completion):
        assert not [x for x in completion if not x.isdigit()]