blob: 89eb83082a2862dcc7b5e026c32101776490adfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import pytest
@pytest.mark.bashcomp(cmd="xvfb-run")
class TestXvfbRun:
@pytest.mark.complete("xvfb-run ")
def test_no_args(self, completion):
assert any(x in completion for x in ("bash", "xvfb-run"))
@pytest.mark.complete("xvfb-run -", require_cmd=True)
def test_options(self, completion):
assert completion
|