1 2 3 4 5 6 7 8 9 10 11 12
import pytest class TestFirefox: @pytest.mark.complete("firefox ") def test_1(self, completion): assert completion @pytest.mark.complete("firefox -") def test_2(self, completion): assert completion assert not completion.endswith(" ")