summaryrefslogtreecommitdiff
path: root/test/t/test_influx.py
blob: 53a15bfff4350ad4b223fcd2190c92234ebd83a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import pytest


class TestInflux:
    @pytest.mark.complete("influx ")
    def test_nothing(self, completion):
        assert not completion

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

    @pytest.mark.complete("influx -format ", require_cmd=True)
    def test_format(self, completion):
        assert completion