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


class TestNproc:
    @pytest.mark.complete("nproc ")
    def test_1(self, completion):
        assert not completion

    @pytest.mark.complete("nproc --", require_longopt=True)
    def test_2(self, completion):
        assert completion