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


class TestTox:
    @pytest.mark.complete("tox -")
    def test_1(self, completion):
        assert completion

    @pytest.mark.complete("tox -e ")
    def test_2(self, completion):
        assert completion == "ALL"

    @pytest.mark.complete("tox -e foo,")
    def test_3(self, completion):
        assert completion == "foo,ALL"