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


class TestBadblocks:
    @pytest.mark.complete("badblocks ")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("badblocks -", require_cmd=True)
    def test_2(self, completion):
        assert completion
        assert all(x not in completion for x in "-w -X".split())