import pytest @pytest.mark.bashcomp(cmd="update-rc.d") class TestUpdateRcD: @pytest.mark.complete("update-rc.d -") def test_1(self, completion): assert completion