summaryrefslogtreecommitdiffstats
path: root/test/t/test_arpspoof.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_arpspoof.py')
-rw-r--r--test/t/test_arpspoof.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/t/test_arpspoof.py b/test/t/test_arpspoof.py
new file mode 100644
index 0000000..74c09a4
--- /dev/null
+++ b/test/t/test_arpspoof.py
@@ -0,0 +1,12 @@
+import pytest
+
+
+class TestArpspoof:
+ @pytest.mark.complete(
+ "arpspoof -",
+ require_cmd=True,
+ # May require privileges even for outputting the usage message
+ skipif="arpspoof 2>&1 | command grep -qF libnet_open_link",
+ )
+ def test_1(self, completion):
+ assert completion