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

import pytest


class TestVipw:
    @pytest.mark.complete("vipw -", require_cmd=True)
    def test_1(self, completion):
        if sys.platform == "darwin":
            assert not completion  # takes no options
        else:
            assert completion