import pytest class TestPostfix: @pytest.mark.complete("postfix ") def test_1(self, completion): assert completion @pytest.mark.xfail # see TODO in completion @pytest.mark.complete("postfix -", require_cmd=True) def test_2(self, completion): assert completion