summaryrefslogtreecommitdiff
path: root/test/t/test_wine.py
blob: d0e5698b657ba5ba82fac621ea8c9616c6159cfa (plain)
1
2
3
4
5
6
7
8
9
10
11
import pytest


class TestWine:
    @pytest.mark.complete("wine ", cwd="shared/default")
    def test_1(self, completion):
        assert completion == ["bar bar.d/", "foo.d/"]

    @pytest.mark.complete("wine notepad ", cwd="shared/default")
    def test_2(self, completion):
        assert completion == ["bar", "bar bar.d/", "foo", "foo.d/"]