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


@pytest.mark.bashcomp(cmd="deja-dup")
class TestDejaDup:
    @pytest.mark.complete("deja-dup -", require_cmd=True)
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("deja-dup --help ")
    def test_2(self, completion):
        assert not completion