diff options
author | 2017-09-11 01:19:41 +0000 | |
---|---|---|
committer | 2017-09-11 01:19:41 +0000 | |
commit | b2336bd1742797e0f38063f654646f115dd62e45 (patch) | |
tree | 59038678cb8bca10fda338fff335319bd5ba0ba0 /tests/unit/cli | |
parent | 4154a75853f6ba004de775194ebffbe00b591012 (diff) | |
parent | 9d52bb9dd0500fa98ce3bdd8142af316adf1804e (diff) |
Merge "Mitigating for missing values in storage QPI."
Diffstat (limited to 'tests/unit/cli')
-rw-r--r-- | tests/unit/cli/cmd_qpi_test.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/unit/cli/cmd_qpi_test.py b/tests/unit/cli/cmd_qpi_test.py index ba5f814e..fa0c859d 100644 --- a/tests/unit/cli/cmd_qpi_test.py +++ b/tests/unit/cli/cmd_qpi_test.py @@ -26,8 +26,11 @@ def test_list(runner): assert 'QTIP Performance Index of compute' in result.output -def test_show(runner): - result = runner.invoke(cli, ['qpi', 'show', 'compute']) +@pytest.mark.parametrize("test_input", [ + 'storage', + 'compute']) +def test_show(runner, test_input): + result = runner.invoke(cli, ['qpi', 'show', test_input]) assert 'QPI' in result.output assert 'Description' in result.output assert 'Formula' in result.output |