summaryrefslogtreecommitdiffstats
path: root/test/t/test_gssdp_device_sniffer.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_gssdp_device_sniffer.py')
-rw-r--r--test/t/test_gssdp_device_sniffer.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/t/test_gssdp_device_sniffer.py b/test/t/test_gssdp_device_sniffer.py
new file mode 100644
index 0000000..be05d0d
--- /dev/null
+++ b/test/t/test_gssdp_device_sniffer.py
@@ -0,0 +1,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