summaryrefslogtreecommitdiffstats
path: root/test/t/test_arp.py
blob: f8a9543b147c9fec788f64cc9840ac6ef202d88d (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 ! "$(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