summaryrefslogtreecommitdiff
path: root/test/t/test_gpgv.py
blob: d600c74fa597709741b2cb89f8fefa1b8ccd0b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import pytest


class TestGpgv:
    @pytest.mark.complete("gpgv ")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("gpgv -", require_cmd=True)
    def test_2(self, completion):
        assert completion

    @pytest.mark.complete("gpgv foo.sig foo ")
    def test_3(self, completion):
        assert not completion