๐Ÿ“ฆ scop / bash-completion

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


@pytest.mark.bashcomp(cmd="pm-hibernate")
class TestPmHibernate:
    @pytest.mark.complete("pm-hibernate -")
    def test_1(self, completion):
        assert completion