summaryrefslogtreecommitdiffstats
path: root/tests/unit/cli/cmd_report.py
diff options
context:
space:
mode:
authorTaseer <taseer94@gmail.com>2017-03-09 12:05:46 +0500
committerTaseer <taseer94@gmail.com>2017-03-18 12:17:52 +0500
commit04e50e57819bdf40a2fd7abdd3fc7be798771e0b (patch)
treec7028016531c2c4c9152352a066c6b2feeae756a /tests/unit/cli/cmd_report.py
parent3ce816d42d510ce60ff775f70ef689b1d1d242b2 (diff)
Refactor reporter module
- Create templates for report format specific to each metric. - Outputs the details of the specified metric across all the nodes in cluster. - Timeline to be covered in a separate patch JIRA: QTIP-199 Change-Id: Ic83749725b0c9cc5bd9a7f24f21b2cd113abe0e1 Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
Diffstat (limited to 'tests/unit/cli/cmd_report.py')
-rw-r--r--tests/unit/cli/cmd_report.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/unit/cli/cmd_report.py b/tests/unit/cli/cmd_report.py
deleted file mode 100644
index e010b960..00000000
--- a/tests/unit/cli/cmd_report.py
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################
-# Copyright (c) 2016 ZTE Corp and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
-
-import pytest
-from click.testing import CliRunner
-
-from qtip.cli.entry import cli
-
-
-@pytest.fixture(scope="module")
-def runner():
- return CliRunner()
-
-
-def test_show(runner):
- result = runner.invoke(cli, ['report', 'show'])
- assert result.output == ''