blob: be05d0daa134ca30b1479aabd591ebe53f5d8b17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import pytest
@pytest.mark.bashcomp(
cmd="gssdp-device-sniffer",
)
class TestGssdpDeviceSniffer:
@pytest.mark.complete("gssdp-device-sniffer ")
def test_basic(self, completion):
assert not completion
@pytest.mark.complete("gssdp-device-sniffer -", require_cmd=True)
def test_options(self, completion):
assert "--help" in completion
|