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


class TestCpio:
    @pytest.mark.complete("cpio --")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("cpio -R ")
    def test_2(self, bash, completion, output_sort_uniq):
        users = output_sort_uniq("compgen -u")
        assert completion == users