summaryrefslogtreecommitdiffstats
path: root/tests/test_cli.py
blob: 3e1431193af1e5ee24e50b52c5ca72e4928685ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import pytest

from click import testing
from watson.cli import cli


@pytest.fixture
def runner():
    return testing.CliRunner()


def test_cli(runner):

    result = runner.invoke(cli)
    assert result.exit_code == 0