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


class TestBsdtar:
    @pytest.mark.complete("bsdtar xf bsdtar/")
    def test_readable_archives(self, completion):
        assert completion == "test.pax test.rar".split()

    @pytest.mark.complete("bsdtar uf bsdtar/")
    def test_writable_archives(self, completion):
        assert completion == "test.pax test.shar".split()