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


@pytest.mark.bashcomp(pre_cmds=("HOME=$PWD/mplayer",))
class TestMplayer:
    @pytest.mark.complete("mplayer ")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("mplayer -h", require_cmd=True)
    def test_2(self, completion):
        assert completion