summaryrefslogtreecommitdiffstats
path: root/test/t/test_arp.py
blob: cd038bdb0981378242bc754dbe6eb26b4e2fbf1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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