summaryrefslogtreecommitdiffstats
path: root/test/t/test_firefox.py
blob: 2e052553b48cb33a8b916a7bff14355c4bd7daf6 (plain)
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 -", require_cmd=True)
    def test_2(self, completion):
        assert completion
        assert not completion.endswith(" ")