summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_cli.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/test_cli.py b/tests/test_cli.py
new file mode 100644
index 0000000..3e14311
--- /dev/null
+++ b/tests/test_cli.py
@@ -0,0 +1,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