summaryrefslogtreecommitdiff
path: root/test/t/test_chromium_browser.py
blob: 75cabdaf9afd3891a5673fc667423cad08cd0843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import pytest


@pytest.mark.bashcomp(cmd="chromium-browser")
class TestChromiumBrowser:
    @pytest.mark.complete("chromium-browser ")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("chromium-browser -")
    def test_2(self, completion):
        assert completion
        assert not completion.endswith(" ")