summaryrefslogtreecommitdiffstats
path: root/test/t/test_arp.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/t/test_arp.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/t/test_arp.py b/test/t/test_arp.py
new file mode 100644
index 0000000..cd038bd
--- /dev/null
+++ b/test/t/test_arp.py
@@ -0,0 +1,13 @@
+import pytest
+
+
+class TestArp:
+ @pytest.mark.complete(
+ "arp ", require_cmd=True, skipif='test -z "$(arp 2>/dev/null)"'
+ )
+ def test_1(self, completion):
+ assert completion
+
+ @pytest.mark.complete("arp -", require_cmd=True)
+ def test_2(self, completion):
+ assert completion