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


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

    @pytest.mark.complete("mysql --default-character-set=")
    def test_2(self, completion):
        assert completion

    @pytest.mark.complete("mysql --non-existent-option=--")
    def test_3(self, completion):
        assert not completion