summaryrefslogtreecommitdiffstats
path: root/test/t/test_tsig_keygen.py
blob: 8c8a64ac070823a4478453f6a9ad2d40c307b3ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import pytest


@pytest.mark.bashcomp(cmd="tsig-keygen")
class TestTsigKeygen:
    @pytest.mark.complete("tsig-keygen ")
    def test_basic(self, completion):
        assert not completion

    @pytest.mark.complete("tsig-keygen -", require_cmd=True)
    def test_options(self, completion):
        assert completion