diff options
Diffstat (limited to 'test/t/test_tox.py')
-rw-r--r-- | test/t/test_tox.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/t/test_tox.py b/test/t/test_tox.py new file mode 100644 index 00000000..b6149362 --- /dev/null +++ b/test/t/test_tox.py @@ -0,0 +1,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" |