diff options
author | zhihui wu <wu.zhihui1@zte.com.cn> | 2017-05-23 18:06:58 +0800 |
---|---|---|
committer | zhihui wu <wu.zhihui1@zte.com.cn> | 2017-05-23 18:50:35 +0800 |
commit | 9ee460df3e2280876b7dd826e8b71ab04514cc17 (patch) | |
tree | ce42b69edbc9c4e93de5d2c04f13cb28e6ab4ef8 /tests | |
parent | c990f1d1915c8666c1793b141b2d37e1e2fdaf1d (diff) |
use the git link to replace qtip_spec
Change-Id: Iaee076c06d54754f2d761dd85eab58353ee32ae4
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/ansible_library/plugins/action/calculate_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/ansible_library/plugins/action/calculate_test.py b/tests/unit/ansible_library/plugins/action/calculate_test.py index 31d72120..fae59821 100644 --- a/tests/unit/ansible_library/plugins/action/calculate_test.py +++ b/tests/unit/ansible_library/plugins/action/calculate_test.py @@ -69,13 +69,13 @@ def section_result(metric_result): @pytest.fixture() -def qpi_result(qpi_spec, section_result, metrics): +def qpi_result(section_result, metrics): return {'score': 2048, 'name': 'compute', 'description': 'QTIP Performance Index of compute', 'children': [section_result], 'details': { - 'spec': qpi_spec, + 'spec': "https://git.opnfv.org/qtip/tree/resources/QPI/compute.yaml", 'metrics': metrics}} |