aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/ansible_library
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-17 11:20:54 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-17 23:04:29 +0800
commit5cf6a66f85658b20e80cd69f93aca470d4511b3c (patch)
tree690f9cb8ae5b2126034585b2afeda34c88136072 /tests/unit/ansible_library
parentf52fba6b8c062337708bfd429fbb845487f3d4c9 (diff)
push results to testapi
Change-Id: Ie6e231690f92971b776cd41af18b21acb43bb199 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/unit/ansible_library')
-rw-r--r--tests/unit/ansible_library/plugins/action/calculate_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/ansible_library/plugins/action/calculate_test.py b/tests/unit/ansible_library/plugins/action/calculate_test.py
index ae163102..3b34d9f5 100644
--- a/tests/unit/ansible_library/plugins/action/calculate_test.py
+++ b/tests/unit/ansible_library/plugins/action/calculate_test.py
@@ -67,7 +67,7 @@ def section_result(metric_result):
@pytest.fixture()
def qpi_result(qpi_spec, section_result, metrics):
- return {'score': 1.0,
+ return {'score': 2048,
'spec': qpi_spec,
'metrics': metrics,
'section_results': [{'name': 'ssl', 'result': section_result}]}