aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/cli/cmd_metric_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/cli/cmd_metric_test.py')
-rw-r--r--tests/unit/cli/cmd_metric_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/cli/cmd_metric_test.py b/tests/unit/cli/cmd_metric_test.py
index cd496ad9..c92e944b 100644
--- a/tests/unit/cli/cmd_metric_test.py
+++ b/tests/unit/cli/cmd_metric_test.py
@@ -41,3 +41,6 @@ def test_show(runner):
result = runner.invoke(cli, ['metric', 'show'])
assert 'Missing argument "name".' in result.output
+
+ result = runner.invoke(cli, ['metric', 'show', 'xyz'])
+ assert "ERROR: metric spec: xyz not found" in result.output