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


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

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