summaryrefslogtreecommitdiff
path: root/test/t/test_less.py
blob: 70833c3445a3a05eec73ab7a7fe35d90ac9b0b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
import pytest


class TestLess:
    @pytest.mark.complete("less --", require_longopt=True)
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("less --", require_longopt=True)
    def test_no_dashdashdash(self, completion):
        assert all(not x.startswith("---") for x in completion)